Automate the Boring Stuff with Python
Practical Programming for Total Beginners
Publisher: No Starch Press
Final Release Date: April 2015
Pages: 504

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.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyAutomate the Boring Stuff with Python
 
5.0

(based on 7 reviews)

Ratings Distribution

  • 5 Stars

     

    (7)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Well-written (6)
  • Easy to understand (5)
  • Helpful examples (5)
  • Concise (3)

Cons

No Cons

Best Uses

  • Student (6)
  • Novice (5)
  • Intermediate (4)
    • Reviewer Profile:
    • Developer (3)

Reviewed by 7 customers

Sort by

Displaying reviews 1-7

Back to top

 
5.0

This is the first book to take your first look at Python!

By Mark

from Melbourne, Australia

About Me Developer

Pros

  • Accurate
  • Engaging
  • Relevant
  • Succinct

Cons

    Best Uses

    • Intermediate
    • Novice
    • Student

    Comments about oreilly Automate the Boring Stuff with Python:

    Sweigart has applied good judgment in dividing the book in to two parts: programming basics and automating tasks. He wastes no times and engages the reader in hands-on action on the second page of the first part and uses simple examples to reinforce learning python and maintain the reader's enthusiasm.

    Sweigart turned my enthusiasm in to excitement and amazement in part two by showing how easily a few lines of python code can be used to 'automates the boring stuff'. For example, about six lines of code to open and extract text from a PDF file and about 14 lines of code is all that it takes to create a spreadsheet with its own chart and save it.

    If there is a downside, it is very minor and that is limited to the two pages in the introductory chapter which include a needless, yet brief, discussion on what is programming, etc. But those two pages are soon pushed to one side by about 450 pages of excellent python mentoring.

     
    5.0

    Really Enjoyed this book

    By LEJ

    from Canada

    About Me Educator

    Verified Buyer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Novice
      • Student

      Comments about oreilly Automate the Boring Stuff with Python:

      First I do have a background in programming, but have long wanted to get acquainted with Python. I chose this book because it has an interesting combination of useful applications and guided, progressive learning. One of my desires was to be able to programmatically examine MS-Word documents (no I didn't WANT to learn VB). This book offers some fundamentals that are allowing me to develop a set of tools to that work.

      The author has an engaging style that seems...well...like a knowledgeable friend.

       
      5.0

      Lots of good ideas for automating boring stuff

      By Erturk

      from Sunnyvale, CA

      About Me Developer

      Verified Reviewer

      Pros

      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate

        Comments about oreilly Automate the Boring Stuff with Python:

        I don't have any previous python experience, but using this book I was able to automate my whole test setup very easily. The book has lots of tips and tricks. My favorite sections are pyautogui and debugging sections.

        It has saved me tons of hours of test time already. One of the best purchases I made in my life.

        (1 of 1 customers found this review helpful)

         
        5.0

        Great starting point

        By E

        from Las Vegas, NV

        Verified Reviewer

        Pros

        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Novice
          • Student

          Comments about oreilly Automate the Boring Stuff with Python:

          gets you comfortable with the basics

          (1 of 1 customers found this review helpful)

           
          5.0

          Great Introduction to Python for everyone

          By Joaquin

          from La Plata

          About Me Developer, Educator, Sys Admin

          Verified Buyer

          Pros

          • Accurate
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Student

            Comments about oreilly Automate the Boring Stuff with Python:

            * You can skip the introduction if you already know python
            * Great tour for a bunch of important Python packages

            (2 of 2 customers found this review helpful)

             
            5.0

            Good Begginner book with interesting examples

            By Chrisfs

            from Berkeley

            Verified Buyer

            Pros

            • Concise
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice
              • Student

              Comments about oreilly Automate the Boring Stuff with Python:

              This a great book that covers basics first and then gives very useful examples in the second half of the book. It's rare that a book covers both the basics and then very intersting topics like how to send email and texts via Python. I recommend this for anyone with repetitive office tasks.

              (3 of 3 customers found this review helpful)

               
              5.0

              Best choice for those who want to start learning programming

              By rfsfman

              from Moscow, Russia

              About Me Software Testing Engineer

              Verified Buyer

              Pros

              • Easy to understand
              • Well-written

              Cons

              • Some Python's Language Ar

              Best Uses

              • Novice
              • Student

              Comments about oreilly Automate the Boring Stuff with Python:

              I use it as introduction to Python as i have been programming on Perl, bash and C++. I use it to do step-by-step exercises to learn basic syntax of the language.
              It's great book to comprehend basis of Python and that's what i've been looking for years.
              The great book as introduction to language. Unfortunately, you can't use it as language reference.
              Anyway, i completely enjoy reading the book.

              Displaying reviews 1-7

              Back to top

               
              Buy 2 Get 1 Free Free Shipping Guarantee
              Buying Options
              Immediate Access - Go Digital what's this?
              Ebook:  $23.95
              Formats:  ePub, Mobi, PDF
              Print & Ebook:  $32.95
              Print:  $29.95