More on Files & Strings + 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.
Please Complete the Following Tasks
1. Download the Exercise Files
Exercise Files2. Review the Slides
3. Watch the Lecture Video(s)
Link | Title | Type | Duration |
---|---|---|---|
Video 1 | L11a: Parsing file data | pre-recorded | 16:49 |
Video 2 | L11b: Error handling | pre-recorded | 12:56 |
Video 3 | L11c: More string functions | pre-recorded | 9:26 |
Video 4 | L11d: Templates | pre-recorded | 6:16 |
Video 5 | L11e: Templates: example | pre-recorded | 18:13 |
Video 6 | L11f: Retrieving files via HTTP/HTTPS | pre-recorded | 10:25 |
Video 7 | Practice with files, string functions, and error handling | lecture | 1:26:38 |