Please enable JavaScript to use CodeHS

Utah Introduction to Python 2

File I/O: Writing to Files

Students learn how to write to files in their programs.

Lessons

8.1 Write to End of File

  • Write to End of File
  • Write to End of File
  • Write to End of File: Example Walkthrough
  • Write to File
  • Append to File
  • +2 more

8.2 Move File Pointer Position

  • Move File Pointer Position
  • Move File Pointer Position
  • Move File Pointer Position: Example Walkthrough
  • Using tell()
  • Reading from a Position in File
  • +1 more

8.3 File I/O: Writing to Files Quiz

  • File I/O: Writing to Files Quiz