https://www.youtube.com/watch?v=cIaOisyd7lE
IO is input and output. STDIN and STOUT are special files on the computer.
Opening File
Open/Close
You must manually open/close the file
With Open
This automatically closes the file afterwards
Reading File
readline()
Read entire file with readline()
readlines()
read()
tell()
Prints the file position pointer.
By default it is at position 0.
Everytime you:
- readline, pointer increases by current line’s character count
seek()
Change the value of the file position pointer.