Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
$30.66$30.66
Ships from: Amazon Sold by: USbookStore
$14.21$14.21
Ships from: Amazon Sold by: Super AM
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.
Automate the Boring Stuff with Python: Practical Programming for Total Beginners 1st Edition
There is a newer edition of this item:
$42.74
This title will be released on May 20, 2025.
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 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.
- ISBN-101593275994
- ISBN-13978-1593275990
- Edition1st
- PublisherNo Starch Press
- Publication dateMay 1, 2015
- LanguageEnglish
- Dimensions7 x 1.19 x 9.25 inches
- Print length504 pages
Frequently bought together
Similar items that ship from close to you
From the Publisher
|
|
|
---|---|---|
'A Lot of Fun'“I’m having a lot of fun breaking things and then putting them back together, and just remembering the joy of turning a set of instructions into something useful and fun, like I did when I was a kid.” —Wil Wheaton, Actor, Writer, and Geek Icon |
'Highly Recommended'“Do you need Automate the Boring Stuff with Python? Yes, if you want to enhance your workflow by using automation, this is an excellent place to start. Highly recommended.” —Network World |
'A Stellar Resource'"A stellar resource for office workers, academics, and administrators." —Mashable |
About the Author
Al Sweigart is a software developer and tech book author. Python is his favorite programming language, and he is the developer of several open source modules for it. His other books are freely available under a Creative Commons license on his website. His cat now weighs 11 pounds.
Python for Kids, 2nd edition by Jason Briggs | Python Crash Course 3rd edition by Eric Matthes | Automate the Boring Stuff 2nd edition by Al Sweigart | Python Flash Cards by Eric Matthes | Impractical Python Projects by Lee Vaughan | Serious Python by Julien Danjou | |
---|---|---|---|---|---|---|
Customer Reviews |
4.6 out of 5 stars
60
|
4.8 out of 5 stars
1,206
|
4.7 out of 5 stars
3,216
|
4.7 out of 5 stars
463
|
4.7 out of 5 stars
351
|
4.7 out of 5 stars
371
|
Price | $21.49$21.49 | $26.79$26.79 | $22.04$22.04 | $21.51$21.51 | $25.02$25.02 | $24.00$24.00 |
User experience level | Beginner | Beginner | Beginner | Beginner to Intermediate | Intermediate | Intermediate |
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 | A quick and easy way to review Python fundamentals, vocabulary, syntax and more | Fun, entertaining projects to take your Python skills to the next level | Expert, practical advice and tutorials to perfect your professional Python skills |
Compatible with Python version | Python 3 | Python 3 | Python 3 | Python 3 | Python 3 | Python 2 & 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 | Flash card format; includes exercises and challenges to test and hone your skills | Covers modules like pygame, Pylint, pydocstyle, tkinter, python-docx, matplotlib, and pillow | Covers powerful techniques like using generators, handling time zones, and applying functional programming |
Page count | 368 pages | 511 pages | 592 pages | 101 cards | 424 pages | 240 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
"Do you need Automate the Boring Stuff with Python? Yes, if you want to enhance your workflow by using automation, this is an excellent place to start. Highly recommended."—Network World
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.
Product details
- Publisher : No Starch Press; 1st edition (May 1, 2015)
- Language : English
- Paperback : 504 pages
- ISBN-10 : 1593275994
- ISBN-13 : 978-1593275990
- Item Weight : 2.1 pounds
- Dimensions : 7 x 1.19 x 9.25 inches
- Best Sellers Rank: #241,538 in Books (See Top 100 in Books)
- #229 in Python Programming
- #259 in Software Development (Books)
- #336 in Introductory & Beginning Programming
- 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
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 AmazonCustomers say
Customers find the book clearly written for programming novices, well organized, and great in paper form. They also say it focuses on practical implementations of Python, gives the reader confidence, and takes an interesting tour through dozens of applications.
AI-generated from the text of customer reviews
Customers find the book focusing on practical implementations of Python to be a great resource for beginners. They also say it covers the basics quite well, and is imminently useful for working with web pages. Readers also mention that the examples are clear, and the book kick starts projects and develops skills needed to code. They say it's an easy read that gives the reader confidence to keep forging ahead, and saves significant time.
"...how the material is presented, this book should also serve well for first time programmers. And, automating a few tedious tasks does not hurt." Read more
"Here's the thing, this book was GREAT. It kick started my projects and eventually I developed the skills needed to code in python as a job...." Read more
"...-great introduction to programming in general, as well as the language..." Read more
"...Better intro than several other books.*the practice questions are excellent, working through each them is rewarding to one's..." Read more
Customers find the book clear, well organized, and witty. They also appreciate the author's explanations of things in a concise way. Customers also like the way the material is presented.
"...The example projects are useful. Actually useful. And, quick to program.I have been programming for many years...." Read more
"...The author makes a lot of great points throughout the book about how you can apply the lessons beyond the one you're tasked with - and it brings..." Read more
"...The Pros:-easy to read, to the point but with enough description to teach you the concepts...." Read more
"...PROS:* the explanation of regular expressions is enlightening, clear and simple. Better intro than several other books.*..." Read more
Customers have mixed opinions about the code samples in the book. Some find them plenty of code samples for a variety of tasks, and good collections of tricks for anyone who wants to learn about computing effectively. Others however, say that some of the code doesn't work and it makes it frustrating for beginners.
"...The code examples illustrate many cool features of Python and are useful far beyond the specific applications shown. Highly recommended!" Read more
"...Kindle version also messes up indentation (tabs) so that your programs will not run if you write your code exactly as written in Kindle version...." Read more
"...Also covers a lot of useful example codes...." Read more
"...Several of the projects didn't function any more, as the API's you needed to integrate to has started using API keys and certificates, something..." Read more
Reviews with images
I like this book, but the physical construction is a bit questionable.
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
I have been programming for many years. I have been working with databases for the past 8 years, so my other programming skills have not kept pace mostly because I have no specific day to day use for Python or any other non-database language in my job. But, for some unknown reason, I wanted to learn Python. So, I tried a number of the usual "Learn Python in 36 Seconds" intro methods -- books and on-line tutorials. Boring. So, I would put in a one or two hours and never return.
When I got "Automate the Boring Stuff", I skimmed over the intro: basic Python syntax chapters. Then, I hit the projects. I quickly realized my error when I could not remember basic syntax: like put that dreaded colon at the end of an IF or FOR statement. Every language wants to do that differently for some reason. So, I re-started the intro chapters. But, I quickly got back to the projects. First project was a copy to the clipboard task. Cool technology. Not exceptionally useful, but entertaining. And, it sure beat the heck out of the usual intro chapters of beginner books. By the time I hit the Excel chapter, I was hooked. And, automating data into and out Excel had a very high appeal to me. I have now completed 2 Excel projects of my own complete with modules to support the code. Each of my projects will save hours of tedious work every month. Also, I learned the limits of the Python Excel module: openpyxl. That was frustrating -- but a very good indicator that I had actually learned it. And, that pesky colon syntax now naturally comes at the end of IF and FOR statements -- another good indicator that I had learned something.
I have to recommend this book to anyone who gets bored trying to learn a new language. Based on how the material is presented, this book should also serve well for first time programmers. And, automating a few tedious tasks does not hurt.
BUT DON'T BUY IT FOR FULL PRICE. This book regularly goes on sale - along with many others for python - on humblebundle.com. A collection of data science and python books can be yours (digitally) for about $5. The author also gives away free copies every few months on Reddit! A real hoopy frood who knows where his towel is.
There are some issues I have with the book's methods, but I am giving it 5 stars because the author explicitly mentions these defects as an intentional part of the book, and the methods still really helped me get to the "meat" of programing basics.
The book takes you through the basics of programming with python, a bit of history about the language, and takes the user through some of the most common functions. Sweigart explains the definitions of basic concepts, such as strings, integers, functions...etc...
There are lots of review sessions and the projects at the end of the chapters really help you work out the syntax on your own.
As the book progresses into more and more complex usages of the language all the while giving the user great examples of potential uses for programming for general office use, or as time saving techniques.
The Pros:
-easy to read, to the point but with enough description to teach you the concepts.
-great introduction to programming in general, as well as the language
-a supplemental website and reddit forum that can really help users with some of the concepts of the book.
The Cons:
-the style leaves out some common programming rules I discovered with supplemental work (he openly admits this is done to keep to the basics of syntax and language usage, it is an effective way to teach newbies).
-some things should have had a little more attention. I feel the role of functions is so big, there should have been a little more emphasis on the scope of the use of the functions
I would highly recommend this book if you:
A. are looking to do programming but do not know where to start
and
B. are comfortable with computers (you don't have to know the command line or be able ot build one from the ground up, but know how to use basic functions)
C. Don't mind the stripped down explanation of things, sticking to concepts rather than form, or the "do's and don'ts" of proper usage
*page 188 (with usage of "%s")
*page 126 (usage of ".pyw" extension, where author says to see Appendix for more details, but there are none)
*page 193 (usage of "str(list())", but there is not (yet) an explanation about that type of use of str())
I'm on page 209 now. The few aforementioned issues tripped me up enough to cause this review to be written. If it were not for those errors, the first 209 pages would be 5-stars.
PROS:
* the explanation of regular expressions is enlightening, clear and simple. Better intro than several other books.
*the practice questions are excellent, working through each them is rewarding to one's understanding.
*the writing is clear and simple, direct, no typos, and flows well through each topic and chapter.
Top reviews from other countries
Reviewed in Mexico on September 3, 2019
Doch auch für erfahrene Programmierer ist das Buch ein sehr guter Einstieg in Python und auf ca. 459 Seiten inkl. Fragen und Antworten hat man alles notwendige Wissen über Python, um selbstständig, ganz im Motto "Automate the boring stuff", seine Projekte zu verwirklichen.
Einzige Kritik wäre, dass bei den Projektaufgaben/praktischen Aufgaben am Ende jedes Kapitels, wie bei den Fragen, eine musterhafte Lösung (evtl. auch online) leider fehlt, allerdings ist dies nicht wirklich tragisch, da man diese doch in den meisten Fällen durch das eben erworbene Wissen lösen können sollte. Es gibt aber zu jedem Projekt innerhalb eines Kapitels die Materialien und das Projekt selbst auf der offiziellen Website zum Download.
Also von mir eine klare Kaufempfehlung, wenn man Python erlernen möchte!
(Bemerkung: Das Buch bietet der Autor auf seiner Seite online gratis zur Verfügung, aber ich persönlich bevorzuge das Buch händisch bei mir zu haben und immer wieder etwas nachschlagen zu können.)
I know how to program - but I am constantly having to lean new languages and ways of doing things. I bought this particular book - I wrote in the margins - I studied it for a month. The most important advice I can give is alter their examples so that it reflects something you are interested in. For example - there is a magic 8-ball program.. I changed it into a prayer bot then I changed it into something that mimicked a bit of "artificial intelligence".
If you are looking for a job I recommend spending a lot of time on spreadsheets. Python is usually one of the languages used at a company - it doesnt do a good job at web work - Angular JS would be a good framework to learn in conjunction.