Slide 1 Files in Python The Basics Slide 2 Why use Files? Very small amounts of data – just hardcode them into the program A few pieces of data – ask the user to input…
Slide 1 Slide 2 Types of files Command line arguments File input and output functions Binary files Random access Slide 3 Slide 4 Data stored in main…