Reading and Writing Files
Input and Output for the Win3 H
Just you? Training a whole team? There's an ITProTV plan that fits.
Start Training TodayEpisodes
Episodes
- Reading and Writing Files
- Overview
- Open and Close a File
- Read a File
- Write a File
- Use a Context Manager
- Loop Through Multiple Files
- Loop Through a File: fileinput
- Loop Through Multiple Files: fileinput
Overview
3 M



- Episode Description
- Transcript
A staple of programming is manipulating data, particularly data saved in files. In this series, we will explore the facilities that Python provides for reading and writing files. If you want to get going with file-based fun, then we will see you there.