Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Automate the Boring Stuff with Python, 3rd Edition
Purchase options and add-ons
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 this work for you?
In this fully revised third edition of 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. Early chapters will teach you the fundamentals of Python through clear explanations and engaging examples. You’ll write your first Python program; work with strings, lists, dictionaries, and other data structures; then use regular expressions to find and manipulate text patterns.
Once you’ve mastered the basics, you’ll tackle projects that teach you to use Python to automate tasks like:
- Searching the web, downloading content, and filling out forms
- Finding, extracting, and manipulating text and data in files and spreadsheets
- Copying, moving, renaming, or compressing saved files on your computerSplitting, merging, and extracting text from PDFs and Word documents
- Interacting with applications through custom mouse and keyboard macros
- Managing your inbox, unsubscribing from lists, and sending email or text notifications
New to this edition: All code and examples have been thoroughly updated. You’ll also find four new chapters on database integration, speech recognition, and audio and video editing, as well as 16 new programming projects and expanded coverage of developer techniques like creating command line programs.
Don’t spend your time on work a well-trained monkey could do. Even if you’ve never written a line of code, you can pass off that grunt work to your computer. Learn how in Automate the Boring Stuff with Python.
- ISBN-101718503407
- ISBN-13978-1718503403
- Edition3rd
- PublisherNo Starch Press
- Publication dateMay 20, 2025
- LanguageEnglish
- Dimensions7.13 x 1.25 x 9.25 inches
- Print length672 pages
Frequently bought together

More items to explore
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to ProgrammingPaperbackGet it as soon as Friday, Jul 31
- 50 Algorithms Every Programmer Should Know: Tackle computer science challenges with classic to modern algorithms in machine learning, software design, data systems, and cryptographyPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Jul 19
- Python for Kids, 2nd Edition: A Playful Introduction to ProgrammingPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Jul 19
- The Linux Command Line, 3rd Edition: A Complete IntroductionPaperback44% offLimited time dealFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Jul 19
Customers also bought or read
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerFunctional Software Programming
Paperback$22.75$22.75Delivery Jul 31 - Aug 6 - Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code
Paperback$24.98$24.98Delivery Sun, Jul 19 - Object-Oriented Python: Master OOP by Building Games and GUIs
Paperback$17.76$17.76Delivery Sun, Jul 19 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Sun, Jul 19 - Practical SQL, 2nd Edition: A Beginner's Guide to Storytelling with Data
Paperback$19.99$19.99Delivery Sun, Jul 19 - The Big Book of Small Python Projects: 81 Easy Practice Programs
Paperback$32.50$32.50$3.95 delivery Aug 4 - 7 - Effective Python: 125 Specific Ways to Write Better Python (Effective Software Development Series)
Paperback$52.80$52.80FREE delivery Sun, Jul 19 - Impractical Python Projects: Playful Programming Activities to Make You Smarter
Paperback$20.47$20.47Delivery Sun, Jul 19 - Web Scraping with Python: Data Extraction from the Modern Web
Paperback$44.94$44.94FREE delivery Sun, Jul 19 - Think Like a Programmer: An Introduction to Creative Problem Solving
Paperback$22.85$22.85Delivery Sun, Jul 19 - Python Workout, Second Edition: 200 ten-minute exercises
Paperback$47.49$47.49FREE delivery Sun, Jul 19 - Introducing Python: Modern Computing in Simple Packages
Paperback$35.29$35.29FREE delivery Sun, Jul 19 - Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters
Paperback$19.94$19.94Delivery Sun, Jul 19 - Python Cheat Sheets: A Quick Visual Guide to Learn Python Programming
Paperback$15.99$15.99Delivery Sun, Jul 19 - Software Engineering for Data Scientists: From Notebooks to Scalable Systems
Paperback$45.00$45.00FREE delivery Sun, Jul 19 - Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More
Paperback$32.64$32.64Delivery Jul 31 - Aug 3 - Dive Into Algorithms: A Pythonic Adventure for the Intrepid Beginner
Paperback$35.15$35.15FREE delivery Sun, Jul 19 - Learn to Code by Solving Problems: A Python Programming Primer
Paperback$21.18$21.18Delivery Sun, Jul 19 - Effective Shell: A Practical User's Guide to Working Smarter on the Command Line
Paperback$26.52$26.52Delivery Sun, Jul 19 - Python 3: The Comprehensive Guide to Hands-On Python Programming (Rheinwerk Computing)
Paperback$48.44$48.44FREE delivery Sun, Jul 19
From the Publisher
About the Author
Al Sweigart is a software developer, fellow of the Python Software Foundation, and author of several popular programming books including The Big Book of Small Python Projects, Beyond the Basic Stuff with Python, Coding with Minecraft, and The Recursive Book of Recursion (all from No Starch Press).
Python for Kids, 2nd Edition by Jason Briggs
|
Python Crash Course, 3rd Edition by Eric Matthes
|
Automate the Boring Stuff with Python, 3rd Edition
|
Python Tools for Scientists: An Introduction to Using Anaconda, JupyterLab, a...
|
Python Playground, 2nd Edition: Geeky Projects for the Curious Programmer
|
Black Hat Python, 2nd Edition: Python Programming for Hackers and Pentesters
|
|
|---|---|---|---|---|---|---|
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
|
| Customer Reviews |
4.7 out of 5 stars 158
|
4.8 out of 5 stars 2,388
|
4.8 out of 5 stars 174
|
4.6 out of 5 stars 59
|
5.0 out of 5 stars 5
|
4.7 out of 5 stars 823
|
| Price | $21.49$21.49 | $23.96$23.96 | $29.30$29.30 | $42.61$42.61 | $32.76$32.76 | $19.94$19.94 |
| User experience level | Beginner | Beginner | Beginner | Beginner | Intermediate | Experienced |
| For readers who want | A gentle, kid-friendly introduction to Python | A fast-paced, thorough introduction to Python | A practical guide to using Python for automating tedious tasks | To use Python for research, simulation, and collaboration | To deepen their skills and explore creative applications of Python | To explore the stealthier side of programming |
| Compatible with Python version | Python 3 | Python 3 | Python 3 | Python 3 | Python 3 | Python 3 |
| Special features | Kid-friendly, full-color code and illustrations | Covers Django, matplotlib and plotly, and pygame | Covers working with files en masse, automating emails and texts, scraping the web, and more | Covers Anaconda, Spyder, Jupyter Notebooks, JupyterLab | Covers matplotlib, Numpy, OpenGL, Pillow, Arduino, and Raspberry Pi | Covers Python 3.x, Volatility Framework,ctypes, struct, lxml, BeautifulSoup |
| Page count | 368 pages | 511 pages | 592 pages | 744 pages | 448 pages | 216 pages |
About the Publisher
No Starch Press has published the finest in geek entertainment since 1994, creating both timely and timeless titles like Python Crash Course, Python for Kids, How Linux Works, and Hacking: The Art of Exploitation. An independent, San Francisco-based publishing company, No Starch Press focuses on a curated list of well-crafted books that make a difference. They publish on many topics, including computer programming, cybersecurity, operating systems, and LEGO. The titles have personality, the authors are passionate experts, and all the content goes through extensive editorial and technical reviews. Long known for its fun, fearless approach to technology, No Starch Press has earned wide support from STEM enthusiasts worldwide.
Editorial Reviews
Review
"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."
—Mashable
"I think many educational resources jump levels way too quickly. One of the best I ever used was Automate the Boring Stuff with Python - that book stayed at the right level the whole way!"
—Oscar Baruffa, @OscarBaruffa
About the Author
Product details
- Publisher : No Starch Press
- Publication date : May 20, 2025
- Edition : 3rd
- Language : English
- Print length : 672 pages
- ISBN-10 : 1718503407
- ISBN-13 : 978-1718503403
- Item Weight : 2.13 pounds
- Dimensions : 7.13 x 1.25 x 9.25 inches
- Best Sellers Rank: #13,450 in Books (See Top 100 in Books)
- Customer Reviews:
About the author

Al Sweigart is a software developer and tech book author living in Houston. He has written several programming books for beginners, including Automate the Boring Stuff with Python. His books are freely available under a Creative Commons license at his website https://inventwithpython.com.
Customer reviews
- 5 star4 star3 star2 star1 star3 star86%14%0%0%0%0%
- 5 star4 star3 star2 star1 star2 star86%14%0%0%0%0%
- 5 star4 star3 star2 star1 star1 star86%14%0%0%0%0%
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon






















