Buy new:
$30.66
FREE delivery Thursday, September 12 on orders shipped by Amazon over $35
Ships from: Amazon
Sold by: USbookStore
$30.66
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Thursday, September 12 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Tuesday, September 10. Order within 15 hrs 2 mins.
Only 1 left in stock - order soon.
$$30.66 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$30.66
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Ships from
Amazon
Sold by
Sold by
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$14.21
Get Fast, Free Shipping with Amazon Prime FREE Returns
Not an ex-library copy. The spine and cover may show signs of wear. 100% GUARANTEE! if you`re not satisfied with purchase please return item for full refund. Not an ex-library copy. The spine and cover may show signs of wear. 100% GUARANTEE! if you`re not satisfied with purchase please return item for full refund. See less
FREE delivery September 22 - October 2 on orders shipped by Amazon over $35
Or fastest delivery September 21 - 29
$$30.66 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$30.66
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from
Amazon
Ships from
Amazon
Sold by
Sold by
Condition
Used - Good
Condition
Used - Good
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Kindle app logo image

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.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

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

4.7 4.7 out of 5 stars 1,539 ratings

There is a newer edition of this item:

Automate the Boring Stuff with Python, 3rd Edition
$42.74
This title will be released on May 20, 2025.
{"desktop_buybox_group_1":[{"displayPrice":"$30.66","priceAmount":30.66,"currencySymbol":"$","integerValue":"30","decimalSeparator":".","fractionalValue":"66","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dU%2FLEZG5J%2F3vbUg21Lvs1%2F3lPauqiJr%2BEm4E2ekrREUpRAn%2BIgmpzIDhV2XW5iVphHt5y9Dl5eNDTQ5Wl4urt5P7yf0mMckCdLz2PoD9ghBiUheIdaPnz78B%2FILHHPu4IbTZrLP%2ByQ3BRMuJHbfriCVxXFjnB%2FtJOAXHL%2B1TkmOe7FFbX%2BlBoKLL7mjXZ3Xw","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$14.21","priceAmount":14.21,"currencySymbol":"$","integerValue":"14","decimalSeparator":".","fractionalValue":"21","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"dU%2FLEZG5J%2F3vbUg21Lvs1%2F3lPauqiJr%2BRcix%2BOLZIpnDij%2FuUkshbUbK1mTDvQHajeiCi%2BZo2spzneMMDh6g3uxIyVxAlq8rAj08UV1t2jhskNSdYbg2gH87z6KsUOol7%2Bf37eoYqG7LcAqWItSWs7klcyltTxBfSGX1eqW3ItRczNGCOXudhM7SydWq1B9z","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

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.


Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

This item: Automate the Boring Stuff with Python: Practical Programming for Total Beginners
$30.66
Get it as soon as Thursday, Sep 12
Only 1 left in stock - order soon.
Sold by USbookStore and ships from Amazon Fulfillment.
+
$26.79
Get it as soon as Thursday, Sep 12
In Stock
Ships from and sold by Amazon.com.
+
$7.95
Get it as soon as Thursday, Sep 12
In Stock
Ships from and sold by Amazon.com.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Some of these items ship sooner than the others.
Choose items to buy together.

From the Publisher

The Automate the Boring Stuff with Python book on a black background with the No Starch Press logo

A spread from Automate the Boring Stuff with Python showing a flow chart

Two copies of Automate the Boring Stuff with Python stacked on top of each other

A spread from Automate the Boring Stuff with Python showing an image of the author's cat

'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

Al Sweigart

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 Python Crash Course, 3rd Edition Automate the Boring Stuff with Python Python Flash Cards Impractical Python Projects Serious Python
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 $26.79 $22.04 $21.51 $25.02 $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
No Starch Press logo. A black circle with a white iron with a star in the center

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

"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

"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
  • Customer Reviews:
    4.7 4.7 out of 5 stars 1,539 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Al Sweigart
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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

4.7 out of 5 stars
1,539 global ratings

Customers 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

168 customers mention "Usefulness"158 positive10 negative

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

92 customers mention "Readability"88 positive4 negative

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

13 customers mention "Code samples"7 positive6 negative

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

I like this book, but the physical construction is a bit questionable.
4 out of 5 stars

I like this book, but the physical construction is a bit questionable.

This book is a good book for reference. It has helped me in my early times learning so far on the website, so I decided to buy the book. It's equally great in paper forms, with the exception of the materials used, it's not well binded and the paper feels a bit cheap. For the price it's not bad at all, but I feel like if they upped the price a few bucks and improved materials used, I would have been happier. If learning python though, it's a solid book to start with and oftentimes paper can be very helpful.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on October 10, 2015
Finally, an intro programming book that is entertaining. The example projects are useful. Actually useful. And, quick to program.

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.
8 people found this helpful
Report
Reviewed in the United States on November 28, 2023
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. 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 perspective I think a lot of books just don't bother to show you.

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.
8 people found this helpful
Report
Reviewed in the United States on August 25, 2017
This is a great book for those who know how to use computer basics but are super beginners to programming in general.

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
14 people found this helpful
Report
Reviewed in the United States on March 3, 2019
It was a great book until page 188, where the author began using aspects of Python in examples that were not (yet) introduced/explained in the book AND not listed in the index, which tripped up the flow of the content. This book was reading at 5-star pace until...
*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.
55 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Afonso Yamaguchi
5.0 out of 5 stars bom e pratico
Reviewed in Brazil on August 14, 2019
É um ótimo livro introdutório. bem pratico.
Sidney D'Souza
5.0 out of 5 stars Very good book for beginners
Reviewed in India on December 30, 2020
Excellent book on python for beginners. Easy to understand layout and flow
Cliente de Amazon
5.0 out of 5 stars Divertida forma de repasar los temas ya conocidos y aprender nuevos
Reviewed in Mexico on September 3, 2019
Es un libro muy entretenido, aunque ya sé Python aprendí por mi cuenta a hacer websrapping para ciertos proyectos, pero estoy muy interesando en la parte de automatizar tareas y lo referente a escribir documentos desde el código. Ahora estoy repasando lo básico (asignación de variables, trabajar con listas, tuplas, strings, diccionarios, etc) como forma de repaso, pero en cada tema hay algún dato que no conocía y esto hace mi estudio de repaso muy provechoso. Recomiendo mucho este libro y deseo que pronto toda la colección esté disponible en español (lo estoy leyendo en inglés).
Customer image
Cliente de Amazon
5.0 out of 5 stars Divertida forma de repasar los temas ya conocidos y aprender nuevos
Reviewed in Mexico on September 3, 2019
Es un libro muy entretenido, aunque ya sé Python aprendí por mi cuenta a hacer websrapping para ciertos proyectos, pero estoy muy interesando en la parte de automatizar tareas y lo referente a escribir documentos desde el código. Ahora estoy repasando lo básico (asignación de variables, trabajar con listas, tuplas, strings, diccionarios, etc) como forma de repaso, pero en cada tema hay algún dato que no conocía y esto hace mi estudio de repaso muy provechoso. Recomiendo mucho este libro y deseo que pronto toda la colección esté disponible en español (lo estoy leyendo en inglés).
Images in this review
Customer image
Customer image
3 people found this helpful
Report
Petra
5.0 out of 5 stars Perfektes Python-Buch!
Reviewed in Germany on July 2, 2017
Das Buch ist auch für absolute Programmieranfänger leicht verständlich und ist keinesfalls langweilig oder "trocken" geschrieben.
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.)
11 people found this helpful
Report
b00kll0vr
5.0 out of 5 stars Best Python Book If You Really Want To Learn
Reviewed in Canada on March 24, 2017
If you are really looking to learn Python and you already have a good level of computer knowledge this book is for you. It takes you through the basics and gets you doing work that you do in real life (spreadsheets, lists, databases, web).. By the time you are in the second half of the book you are doing "useful" projects such as a password wallet.

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.
12 people found this helpful
Report