08. Files and Exceptions

Get Started. It's Free
or sign up with your email address
08. Files and Exceptions by Mind Map: 08. Files and Exceptions

1. Lecture

1.1. Otter Folder

1.2. Lecture 1: Tuesday June 25, 2024

1.2.1. Audio

1.2.2. Notes

1.3. Lecture 2: Thursday June 27, 2024

1.3.1. Audio

1.3.1.1. Otter transcript

1.3.1.1.1. End of lecture addition

1.3.1.2. Otter summary

1.3.2. Notes

1.4. Lecture 3: Thursday July 4, 2024

1.4.1. Audio

1.4.1.1. (P1) 4:43 pm - 4:57 pm

1.4.1.1.1. Summary

1.4.1.1.2. (P2)

1.4.2. Notes

1.5. Extra Notes from Prof

1.5.1. Instructor Notes: File I/O

1.5.2. Instructor Notes: Exception Handling

1.5.3. Example 1: Read a file in a list

1.5.4. Example 2: Maximum transaction in a file

1.5.5. Example 3: Average of Numbers in a File

1.5.6. Example 4: File of Random Numbers

1.5.7. Example 5: Exception Handling

2. Quiz Lab 06: Files and Exceptions

2.1. Questions

3. Textbook

3.1. Chapter 6: Files and Exceptions

3.1.1. 06.01: Introduction to File Input and Output

3.1.1.1. 06.01.01: Introduction to File Input and Output

3.1.1.2. 06.01.02: Types of Files

3.1.1.3. 06.01.03: Opening a File

3.1.1.4. 06.01.04: Writing Data to a File

3.1.1.5. 06.01.05: Reading Data from a File

3.1.1.6. 06.01.06: Concatenating a Newline to a String

3.1.1.7. 06.01.07: Reading a String and Stripping the Newline from It

3.1.1.8. 06.01.08: Appending Data to an Existing File

3.1.1.9. 06.01.09: Writing and Reading Numeric Data

3.1.1.10. 06.01.10: (Noninteractive) Checkpoint Questions from the Book

3.1.2. 06.02 Using Loops to Process Files

3.1.2.1. 06.02.01: Using Loops to Process Files

3.1.2.2. 06.02.02: Reading a File with a Loop and Detecting the End of the File

3.1.2.3. 06.02.03: Using Python's for Loop to Read Lines

3.1.2.4. 06.02.04: In the Spotlight: Working with Files

3.1.2.5. 06.02.05: (Noninteractive) Checkpoint Questions from the Book

3.1.3. 06.03: Using the with Statement to Open Files

3.1.3.1. 06.03.01: Using the with Statement to Open Files

3.1.3.2. 06.03.02: Opening Multiple Files with a with Statement

3.1.4. 06.04: Processing Records

3.1.4.1. 06.04.01: Processing Records

3.1.4.2. 06.04.02: In the Spotlight: Adding and Displaying Records

3.1.4.3. 06.04.03: In the Spotlight: Searching for a Record

3.1.4.4. 06.04.04: In the Spotlight: Modifying Records

3.1.4.5. 06.04.05: In the Spotlight: Deleting Records

3.1.4.6. 06.04.06: (Noninteractive) Checkpoint Questions from the Book

3.1.5. 06.05: Exceptions

3.1.5.1. 06.05.01: Exceptions

3.1.5.2. 06.05.02: Handling Multiple Exceptions

3.1.5.3. 06.05.03: Displaying an Exception's Default Error Message

3.1.5.4. 06.05.04: The else Clause

3.1.5.5. 06.05.05: The finally Clause

3.1.5.6. 06.05.06: What if an Exception Is Not Handled?

3.1.5.7. 06.05.07: (Noninteractive) Checkpoint Questions from the Book

3.1.6. 06.06: From the Book for Additional Practice

3.1.6.1. 06.06.01: Review Questions

3.1.6.2. 06.06.02: Programming Exercises

4. Textbook Assignment Chapter 6 Questions

4.1. Quiz 06.01- Introduction to File Input and Output

4.1.1. Question 1

4.1.2. Question 2

4.1.3. Question 3

4.2. Quiz 06.02- Using Loops to Process Files

4.2.1. Question 1

4.2.2. Question 2

4.2.3. Question 3

4.3. Quiz 06.03- Using the with Statement to Open Files

4.3.1. Question 1

4.3.2. Question 2

4.4. Quiz 06.05- Exceptions

4.4.1. Question 1

4.4.2. Question 2

4.4.3. Question 3

4.5. Chapter 6- Auto-Graded Programming Project 1

4.6. Chapter 6- Auto-Graded Programming Project 2