python file handling
- Text-files
- Binary-files
- CSV-files
x to create a new file
Read only mode
r
file should exist before existing
Write only mode
w
It will overwrite any previous data
Append mode
a
Add content at the end of the file
keyword: with
Methods