Automate the Boring Stuff with Python: Practical Programming for Total Beginnerso (2015)
Part I: Python Programming Basics
Chapter 5: Dictionaries and Structuring Data
Chapter 6: Manipulating Strings
Part II: Automating Tasks
Chapter 7: Pattern Matching with Regular Expressions
Chapter 8: Reading and Writing Files
Chapter 12: Working with Excel Spreadsheets
Chapter 13: Working with PDF and word Documents
Chapter 14: Working with CSV Files and JSON Data
Chapter 15: Keeping Time, Scheduling Tasks, and Launching Programs
Chapter 16: Sending Email and Text Messages
Chapter 17: Manipulating Images
Chapter 18: Controlling the Keyboard and Mouse with GUI Automation
Appendix A. Installing Third-Party Modules
Appendix C. Answers to the Practice Questions