Files and File Operations


A PDF file of the lecture slides handout.


Think Python: Chapter 14 - Files (up to section 14.6) You should also ignore section 14.3 Format Operator, since we learned in class the more advanced f-string construct.


Click on the link to download the .zip file to your computer. The unzipped folder contains the notebook for lecture activities.

Solutions (for after class)

Use these sample solutions for review only after you have completed the code exercises. You will learn much more by trying to solve them on your own and then comparing your approach with the solutions.

I have made a genuine effort to complete the code exercises. Show me the solutions.

Study Guide