Module 7 Summary

Thomas J. Kennedy

Contents:

Having completed the File IO, Context Managers, and Exceptions module (i.e., Module 7) you should now be comfortable:

1 Questions to Consider

Take a few minutes to think about the following:

  1. How context managers increase readability of code the reads from (or writes to files)

  2. When a ValueError can be raised

  3. When a IndexError can be raised

2 On to the Next Module…

The next module (i.e., Writing Pythonic Code, Code Linting, and Testing with PyTest) will discuss how to test Python code along with discussions of linting tools.