100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Presentation

Automate the Boring Stuff with Python, 2nd Edition

Rating
-
Sold
-
Pages
610
Uploaded on
09-08-2024
Written in
2019/2020

"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 this fully revised second edition of the best-selling classic 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. You’ll learn the basics Python and explore Python’s rich library of modules for performing specific tasks, like scraping data off websites, reading PDF and Word documents, and automating clicking and typing tasks. The second edition of this international fan favorite includes a brand-new chapter on input validation, as well as tutorials on automating Gmail and Google Sheets, plus tips on automatically updating CSV files. You’ll learn how to create programs that effortlessly perform useful 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 email responses and text notifications"

Show more Read less
Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
August 9, 2024
Number of pages
610
Written in
2019/2020
Type
Presentation
Person
Unknown

Subjects

Content preview

,BRIEF CONTENTS
Acknowledgments

Introduction

PART I: PYTHON PROGRAMMING BASICS

Chapter 1: Python Basics

Chapter 2: Flow Control

Chapter 3: Functions

Chapter 4: Lists

Chapter 5: Dictionaries and Structuring Data

Chapter 6: Manipulating Strings

PART II: AUTOMATING TASKS

Chapter 7: Pattern Matching with Regular Expressions

Chapter 8: Input Validation

Chapter 9: Reading and Writing Files

Chapter 10: Organizing Files

Chapter 11: Debugging

Chapter 12: Web Scraping

Chapter 13: Working with Excel Spreadsheets

Chapter 14: Working with Google Sheets

Chapter 15: Working with PDF and Word Documents

Chapter 16: Working with CSV Files and JSON Data

Chapter 17: Keeping Time, Scheduling Tasks, and Launching Programs

Chapter 18: Sending Email and Text Messages

,Chapter 19: Manipulating Images

Chapter 20: Controlling the Keyboard and Mouse with GUI Automation

Appendix A: Installing Third-Party Modules

Appendix B: Running Programs

Appendix C: Answers to the Practice Questions

Index

CONTENTS IN DETAIL
ACKNOWLEDGMENTS

INTRODUCTION

Whom Is This Book For?

Conventions

What Is Programming?

What Is Python?

Programmers Don’t Need to Know Much Math

You Are Not Too Old to Learn Programming

Programming Is a Creative Activity

About This Book

Downloading and Installing Python

Downloading and Installing Mu

Starting Mu

Starting IDLE

The Interactive Shell

Installing Third-Party Modules

, How to Find Help

Asking Smart Programming Questions

Summary

PART I: PYTHON PROGRAMMING BASICS

1
PYTHON BASICS

Entering Expressions into the Interactive Shell

The Integer, Floating-Point, and String Data Types

String Concatenation and Replication

Storing Values in Variables

Assignment Statements

Variable Names

Your First Program

Dissecting Your Program

Comments

The print() Function

The input() Function

Printing the User’s Name

The len() Function

The str(), int(), and float() Functions

Summary

Practice Questions

2
FLOW CONTROL
$4.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
RobertCuong

Get to know the seller

Seller avatar
RobertCuong Telecommunication
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
225
Last sold
-
GPON and WiFi

+ SDH solution based on Fujitsu/Alcatel/Huawei devices in deployment and troubleshoot + Switching and Routing network fundamental and advance + GPON solution with deep knowledge of PLOAM/OMCI, activation procedure. Analysis of Private/Public OMCI + WiFi solution with WiFi Management/Control/Data. WiFi bandsteering, WiFi mesh, and WiFi 6, 6E, 7, ...

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions