File Io Basics

 

# File io Basics

"""
"r" - open file for reading - default
"w" - open file for writing
"x" - creat file if not exists
"a" - add more content to a file
"t" - text mode - default
"b" - binary mode
"+" - read and write

"""