"With lessons on how to use Python to program Excel spreadsheets, crawl websites, parse PDFs and Word documents, send emails, and other productivity-boosting task automation, it's a stellar resource for office workers, academics, and administrators."<br /><b>—Mashable<br /></b><br />"I think many educational resources jump levels way too quickly. One of the best I ever used was <i>Automate the Boring Stuff with Python</i> - that book stayed at the right level the whole way!"<br /><b>—Oscar Baruffa, @OscarBaruffa<br /></b><br />Praise for the first edition of <i>Automate the Boring Stuff with Python:</i><br /><br />"The best part of programming is the triumph of seeing the machine do something useful. <i>Automate the Boring Stuff with Python</i> frames all of programming as these small triumphs; it makes the boring fun.”<br />—<b>Hilary Mason, Founder of Fast Forward Labs and Data Scientist in Residence at Accel<br /> </b> <br /> “Do you need <i>Automate the Boring Stuff with Python</i>? Yes, if you want to enhance your workflow by using automation, this is an excellent place to start. Highly recommended.”<br /> <b>—Network World</b><br /> <br /> “Valuable to have on your shelf...an extremely useful book.”<br /> —<b>Kids, Code, and Computer Science Magazine</b><br /> <br /> "<i>Automate the Boring Stuff with Python</i> is perfect for anyone who has menial tasks they don't want to spend hours doing."<br /> —<b>GeekMom</b><br /><br /> "Whether you prefer working through a book, or learning by watching, or both together, <i>Automate the Boring Stuff </i>will have you productive in Python in no time." <br /><b>—Serdar Yegulalp, InfoWorld</b><br /><br />"If you seriously want to know how much Python helps with automation, my favorite place is the <i>Automate Boring Stuff with Python</i> book, a simply awesome book." <br /><b>—Javin Paul, Hacker Noon</b><br /><br />"This is certainly a much more engaging way to learn Python . . . it gets you all excited by the prospect of making cool little programs that will save you time."<br /><b>—Andrew Lau, AndrewLauActuary.com</b><br /><br />"I've found both the book and Udemy course of <i>Automate the Boring Stuff with Python</i> by Al Sweigart to be really helpful."<br /><b>—Mark S, @Awful_Curious</b><br /><br />"Best Python book you can buy today."<br /><b>—Rodrigo Ribeiro, @mcapablanca</b>
Introduction
Part I: Python Programming Basics
Chapter 1: Python Basics
Chapter 2: Flow Control
Chapter 3: Functions
Chapter 4: Lists
Chapter 5: Dictionaries and Structuring Data
Chapter 6: Manipulating Strings
Part II: Automating Tasks
Chapter 7: Pattern Matching with Regular Expressions
Chapter 8: Input Validation
Chapter 9: Reading and Writing Files
Chapter 10: Organizing Files
Chapter 11: Debugging
Chapter 12: Web Scraping
Chapter 13: Working with Excel Spreadsheets
Chapter 14: Working with Google Sheets
Chapter 15: Working with PDF and Word Documents
Chapter 16: Working with CSV Files and JSON Data
Chapter 17: Keeping Time, Scheduling Tasks, and Launching Programs
Chapter 18: Sending Email and Text Messages
Chapter 19: Manipulating Images
Chapter 20: Controlling the Keyboard and Mouse with GUI Automation
Appendix A: Installing Third-Party Modules
Appendix B: Running Programs
Appendix C: Answers to the Practice Questions