Monthly Archive: July 2020

GIT

Commands : mkdir directory git init       will create the master branch git status git branch git add file1,file2,etc…. git rm file1,file2,etc…. git rebase “branch” git merge “branch” git commit -m “comments” tree . git diff git log git reset…
Read more

Files , read write open !

Basic commands to understand the open command f = open(“text.ext”)   <— default mode is read “r” f.read() f.readline() f.readlines() Once read, if you need to go back to the beginning of the file :  f.seek(X) output = f.”read.option”() print(output) =…
Read more