If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how boring such tasks can be. What if your computer could do this for you?In this completely redesigned second edition of the bestselling classic Automate the Boring Stuff with Python, learn how to use Python to write programs that do in minutes what would take hours by hand - no programming skills required. You will learn the basics of Python and explore Python's extensive library of modules to perform specific tasks such as scraping data from websites, reading PDF and Word documents, and automating click and typing tasks. The second edition of this international fan favorite has a brand new chapter on input validation, as well as tutorials on automating Gmail and Google Sheets, and tips on automatically updating CSV files. You will learn how to create programs that effortlessly provide useful automation services for:
- Search for text in a file or multiple files
- Create, update, move, and rename files and folders
- Search the Internet and download online content
- Update and format data in Excel spreadsheets of any size
- Split, merge, watermark, and encrypt PDFs
- Send replies via email and SMS notifications
- Fill out the online forms
Step-by-step instructions walk you through each program, and updated hands-on projects at the end of each chapter challenge you to improve on those programs and use your new skills to automate similar tasks.
Don't spend your time doing the work a well-trained monkey might do. Even if you've never written a line of code, you can let your computer do the dirty work. Find out how in Automating Boring Things with Python, 2nd Edition.