Download Automate the Boring Stuff with Python: Practical Programming by Albert Sweigart PDF

By Albert Sweigart

ISBN: 1593275994
EAN: 9781593275990
ASIN: 1593275994
Publisher: No Starch Press
Publication Date: 2015-05-01
Number of Pages: 504

If you've ever spent hours renaming records or updating countless numbers of spreadsheet cells, you understand how tedious projects like those could be. yet what if you happen to can have your machine do them for you?

In Automate the dull Stuff with Python, you'll how to use Python to write down courses that do in mins what could take you hours to do by way of hand-no past programming adventure required. as soon as you've mastered the fundamentals of programming, you'll create Python courses that without difficulty practice worthy 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 layout 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 talents to automate related tasks.

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

Show description

Read or Download Automate the Boring Stuff with Python: Practical Programming for Total Beginners PDF

Best programming books

How to Do Everything with HTML

One other unencumber in our well known the best way to Do every little thing sequence, this pleasant, solutions-oriented e-book is full of step by step examples for writing HTML code. every one bankruptcy starts off with the explicit how-to subject matters that might be lined. in the chapters, every one subject is observed through a pretty good, easy-to-follow walkthrough of the method.

ZooKeeper: Distributed process coordination

Building dispensed purposes is hard sufficient with no need to coordinate the activities that cause them to paintings. This sensible advisor exhibits how Apache ZooKeeper is helping you deal with dispensed platforms, so that you can concentration typically on program common sense. in spite of ZooKeeper, enforcing coordination initiatives isn't trivial, yet this booklet offers stable practices to offer you a head begin, and issues out caveats that builders and directors alike have to stay up for alongside the way.

In 3 separate sections, ZooKeeper individuals Flavio Junqueira and Benjamin Reed introduce the rules of disbursed structures, offer ZooKeeper programming strategies, and comprise the knowledge you must administer this service.
• learn the way ZooKeeper solves universal coordination projects
• discover the ZooKeeper API’s Java and C implementations and the way they fluctuate
• Use how you can tune and react to ZooKeeper nation alterations
• deal with disasters of the community, software procedures, and ZooKeeper itself
• know about ZooKeeper’s trickier features facing concurrency, ordering, and configuration
• Use the Curator high-level interface for connection administration
• get to grips with ZooKeeper internals and management instruments

iOS 9 Programming Fundamentals with Swift: Swift, Xcode, and Cocoa Basics

Movement into iOS improvement via getting an organization take hold of of its basics, together with the Xcode IDE, the Cocoa contact framework, and fast 2. 0—the newest model of Apple's acclaimed programming language. With this completely up to date advisor, you'll research Swift’s object-oriented suggestions, know the way to take advantage of Apple's improvement instruments, and become aware of how Cocoa presents the underlying performance iOS apps should have.

Microsoft Windows 2000 and IIS 5.0 administrator's pocket consultant

This publication is great while you're operating a server with home windows 2000 and IIS. when you run into difficulties or have questions whilst surroundings issues up or keeping them it's a speedy reference for solutions.

Additional resources for Automate the Boring Stuff with Python: Practical Programming for Total Beginners

Sample text

Some experienced programmers may point out that the official Python code style, PEP 8, says that underscores should be used. I unapologetically prefer camelcase and point to “A Foolish Consistency Is the Hobgoblin of Little Minds” in PEP 8 itself: “Consistency with the style guide is important. But most importantly: know when to be inconsistent—sometimes the style guide just doesn’t apply. ” A good variable name describes the data it contains. Imagine that you moved to a new house and labeled all of your moving boxes as Stuff.

This integer value is then added to 1 in the expression int(myAge) + 1. The result of this addition is passed to the str() function: str(int(myAge) + 1). ' to evaluate to one large string value. This large string is finally passed to print() to be displayed on the screen. Let’s say the user enters the string '4' for myAge. The string '4' is converted to an integer, so you can add one to it. The result is 5. ', to create the final message. These evaluation steps would look something like Figure 1-4.

To evaluate to one large string value. This large string is finally passed to print() to be displayed on the screen. Let’s say the user enters the string '4' for myAge. The string '4' is converted to an integer, so you can add one to it. The result is 5. ', to create the final message. These evaluation steps would look something like Figure 1-4. Te x t a nd Numbe r Equi va le nce Although the string value of a number is considered a completely different value from the integer or floating-point version, an integer can be equal to a floating point.

Download PDF sample

Rated 4.05 of 5 – based on 10 votes