Lessons > 18. Error Handling
In this lesson, we’re going to go over a few more examples of using files in the “real world.” This includes:
- reading files from disk and from the Internet,
- manipulating file data into usable formats, and finally
- writing files with the help of templates
We will also explore a new file format (HTML). In addition, we will also talk about error handling using try/except blocks.
Today's Activities
1. Download the Exercise Files
Exercise Files2. Review the Slides
3. Review the Lecture Video(s)
| Link | Type | Title | Duration |
|---|---|---|---|
| Video 1 | required | L18a: Parsing file data | 16:15 |
| Video 2 | required | L18b: Error handling | 12:37 |
| Video 3 | required | L18c: More string functions | 9:05 |
| Video 4 | required | L18d: Templates | 6:00 |
| Video 5 | required | L18e: Templates: example | 17:58 |
| Video 6 | required | L18f: Retrieving files via HTTP/HTTPS | 9:59 |
| Video 7 | lecture | Live Lecture | 48:12 |