Using Python’s Input/Output Functionality

“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.”


  1. 2006-01-09 9:56 pm
  2. 2006-01-09 10:15 pm
  3. 2006-01-09 11:36 pm
  4. 2006-01-10 8:21 am
    • 2006-01-10 9:16 am