Automate the Boring Stuff with Python: Practical Programming for Total Beginners

  • 7h 59m
  • Al Sweigart
  • No Starch Press
  • 2015

If you’ve ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you?

In Automate the Boring Stuff with Python, you’ll learn how to use Python to write programs that do in minutes what would take you hours to do by hand—no prior programming experience required. Once you’ve mastered the basics of programming, you’ll create Python programs that effortlessly perform useful and impressive feats of automation to:

  • Search for text in a file or across multiple files
  • Create, update, move, and rename files and folders
  • Search the Web and download online content
  • Update and format data in Excel spreadsheets of any size
  • Split, merge, watermark, and encrypt PDFs
  • Send reminder emails and text notifications
  • Fill out online forms

Step-by-step instructions walk you through each program, and practice projects at the end of each chapter challenge you to improve those programs and use your newfound skills to automate similar tasks.

Don’t spend your time doing work a well-trained monkey could do. Even if you’ve never written a line of code, you can make your computer do the grunt work. Learn how in Automate the Boring Stuff with Python.

Note: The programs in this book are written to run on Python 3.

About the Author

Al Sweigart is a software developer and teaches programming to kids and adults. He has written several Python books for beginners, including Hacking Secret Ciphers with Python, Invent Your Own Computer Games with Python, and Making Games with Python & Pygame.

In this Book

  • Python Basics
  • Flow Control
  • Functions
  • Lists
  • Dictionaries and Structuring Data
  • Manipulating Strings
  • Pattern Matching with Regular Expressions
  • Reading and Writing Files
  • Organizing Files
  • Debugging
  • Web Scraping
  • Working with Excel Spreadsheets
  • Working with PDF and Word Documents
  • Working with CSV Files and JSON Data
  • Keeping Time, Scheduling Tasks, and Launching Programs
  • Sending Email and Text Messages
  • Manipulating Images
  • Controlling the Keyboard and Mouse with GUI Automation
SHOW MORE
FREE ACCESS

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 4247 users Rating 4.6 of 4247 users (4247)
Rating 4.5 of 258 users Rating 4.5 of 258 users (258)