This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Working with Files [June 5, 2011, 8:53 p.m.]



An important part of programming is knowing how to work directly with files. Lets review the following Pythonic tools for working with files:

  • open()
  • read()
  • readlines()
  • write()
  • seek()
  • close()
  • the Pickle module

Learning Resources

Python for Informatics:

Python Docs