Unit 7
Unit 7: Files & Errors
Work through the lessons below in order. Each lesson includes short explanations and runnable code.
Your progress in this unit
0%
Lessons
- 1. Introduction to File Handling
- 2. Opening and Closing Files
- 3. Reading Data from Files
- 4. Writing Data to Files
- 5. Working with File Paths
- 6. Using the with Statement for File Operations
- 7. Understanding Errors and Exceptions
- 8. The try and except Blocks
- 9. Raising and Customizing Exceptions
- 10. File and Error Handling in Real Projects
End of unit test
Ten multiple choice questions worth 7 points each and one free response problem worth 30, so 100 in total. Score 70 or more to finish Unit 7 and unlock Unit 8.