Discover Python, Part 8: Reading and writing data (developerWorks)
[Posted January 9, 2006 by ris]
developerWorks presents
another chapter of Discover Python. "In this article, you learn
how to work with files. First, we review a simple way to output data in
Python, using the print statement, then learn about the file object, which
is used by Python programs to read and write data to a file. The different
modes with which a file can be opened are demonstrated, and the article
concludes by showing how to read and write a binary file."
(Log in to post comments)