The information in this book is distributed on an “As Is” basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor No Starch Press, Inc. shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it. | LEARN PYTHON. GET STUFF DONE. 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 • 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. 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. • Split, merge, watermark, and encrypt PDFs COVERS PYTHON 3 w w “ I L I E F L AT .” SFI-00000 $ ($ CDN) SHELVE IN: PROGRAMMING LANGUAGES/ PYTHON This book uses a durable binding that won’t snap shut. SWEIGART T H E F I N E ST I N G E E K E N T E RTA I N M E N T ™ AU TOM AT E T HE BOR ING AU TOM AT E T HE BOR ING STUFF WITH PY THON STUFF WITH PY THON 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? AUTOMATE THE BORING STUFF WITH PYTHON P R A C T I C A L P R O G R A M M I N .