Module 3

Pattern Matching with Regular Expressions, Finding Patterns of Text Without Regular
Expressions, Finding Patterns of Text with Regular Expressions,More Pattern Matching with
Regular Expressions, Greedy and Nongreedy Matching, The findall() Method, Character
Classes, Making Your Own Character Classes, The Caret and Dollar Sign Characters, The
Wildcard Character, Review of Regex Symbols, Case-Insensitive Matching, Substituting
Strings with the sub() Method, Managing Complex Regexes, Combining re .IGNORECASE,
re .DOTALL, and re .VERBOSE, Project: Phone Number and Email Address Extractor,
Reading and Writing Files, Files and File Paths, The os.path Module, The File
Reading/Writing Process, Saving Variables with the shelve Module,Saving Variables with
the pprint.pformat() Function, Project: Generating Random Quiz Files, Project:
Multiclipboard, Organizing Files, The shutil Module, Walking a Directory Tree,
Compressing Files with the zipfile Module, Project: Renaming Files with American-Style
Dates to European-Style Dates,Project: Backing Up a Folder into a ZIP File, Debugging,
Raising Exceptions, Getting the Traceback as a String, Assertions, Logging, IDLE’s
Debugger.