In this chapter, you learned about:
Text files
File pointers
Opening and closing files with open()
and close()
Reading files with read()
, readline()
, and readlines()
Writing files with write()
and writelines()
Appending to files
os.path
methods exists()
, isfile()
, isdir()
, join()
,
basename()
, dirname()
, and getsize()
Dealing with text files with different encoding mechanisms