By Al Sweigart

ISBN-10: 1593275994

ISBN-13: 9781593275990

If you have ever spent hours renaming documents or updating thousands of spreadsheet cells, you know the way tedious projects like those may be. yet what in case you may have your laptop do them for you?

In Automate the dull Stuff with Python, you will the right way to use Python to write down courses that do in mins what might take you hours to do through hand—no past programming adventure required. as soon as you have got mastered the fundamentals of programming, you are going to create Python courses that without difficulty practice worthwhile and bold feats of automation to:

  • Search for textual content in a dossier or throughout a number of files
  • Create, replace, flow, and rename records and folders
  • Search the internet and obtain on-line content
  • Update and structure information in Excel spreadsheets of any size
  • Split, merge, watermark, and encrypt PDFs
  • Send reminder emails and textual content notifications
  • Fill out on-line forms

Step-by-step directions stroll you thru each one application, and perform initiatives on the finish of every bankruptcy problem you to enhance these courses and use your newfound abilities to automate comparable tasks.

Don't spend it slow doing paintings a well-trained monkey may do. whether you've got by no means written a line of code, you can also make your machine do the grunt paintings. learn the way in Automate the dull Stuff with Python.

Show description

Read Online or Download Automate the boring stuff with python : practical programming for total beginners PDF

Best introductory & beginning books

Problem Solving With Computers

Computing device technological know-how

Java Foundations: Introduction to Program Design and Data Structures (2nd Edition)

Encouraged through the luck in their best-selling introductory programming textual content, Java software program strategies, authors Lewis, DePasquale, and Chase now free up Java Foundations, moment version. this article is a complete source for teachers who desire a two-or three-semester creation to programming textbook that incorporates aspect on information buildings subject matters.

Sams teach yourself object-oriented programming in 21 days

Sams train your self item orientated Programming in 21 Days differs from different OOP books in major methods. Many vintage OOP books are designed for software program engineers and train at a tutorial point. Sams educate your self item orientated Programming in 21 Days offers obtainable, basic classes designed with the start programmer in brain.

Explorations in Computing: An Introduction to Computer Science

In response to the author’s introductory path on the college of Oregon, Explorations in Computing: An creation to laptop technology specializes in the basic thought of computation and gives perception into how computation is used to unravel various fascinating and critical real-world difficulties. Taking an lively studying process, the textual content encourages scholars to discover computing principles through working courses and trying out them on various inputs.

Additional info for Automate the boring stuff with python : practical programming for total beginners

Sample text

Dissecting Your Program With your new program open in the file editor, let’s take a quick tour of the Python instructions it uses by looking at what each line of code does. 22 Chapter 1 Comments The following line is called a comment. u # This program says hello and asks for my name. Python ignores comments, and you can use them to write notes or remind yourself what the code is trying to do. Any text for the rest of the line following a hash mark (#) is part of a comment. Sometimes, programmers will put a # in front of a line of code to temporarily remove it while testing a program.

Chapter 2 describes functions in more detail. The input() Function The input() function waits for the user to type some text on the keyboard and press enter. w myName = input() This function call evaluates to a string equal to the user’s text, and the previous line of code assigns the myName variable to this string value. Python Basics 23 You can think of the input() function call as an expression that evaluates to whatever string the user typed in. If the user entered 'Al', then the expression would evaluate to myName = 'Al'.

1600 64 bit (AMD64)] on win32Type "copyright", "credits" or "license()" for more information. >>> This window is called the interactive shell. A shell is a program that lets you type instructions into the computer, much like the Terminal or Command Prompt on OS X and Windows, respectively. Python’s interactive shell lets you enter instructions for the Python interpreter software to run. The computer reads the instructions you enter and runs them immediately. ') Hello world! How to Find Help Solving programming problems on your own is easier than you might think.

Download PDF sample

Automate the boring stuff with python : practical programming for total beginners by Al Sweigart


by George
4.4

Rated 4.62 of 5 – based on 45 votes