
Introduction:
Automate boring stuff using python free PDF download Programming is presented as small achievement in Automate the Boring Stuff with Python which makes the boring fun. It is wrote by ‘Al Sweigart’.
Renaming hundreds of files, sending emails every 15 minutes, or applying a logo to thousands of photos are all unnecessary chores that you should avoid doing. Instead, write a few lines of code in Python to automate everything.
You will learn the fundamentals of Python in this book, along with several useful applications for automation. This book is totally useful for beginners.
About the Author:
Al Sweigart is a software developer and tech book author living in Houston. His favourite programming language is Python, and he has created a number of open source modules for it.
Summary:
“Automate the Boring Stuff with Python,” written by Al Sweigart, was released in 2015 and has already gained a devoted following among those wishing to harness automation’s potential. The book has a practical approach, leading readers through real-world projects and examples that progressively increase their proficiency and assurance in using Python for automation.
The book covers a wide range of subjects, from fundamental ideas in Python programming to more sophisticated methods for automating processes. File manipulation, text and picture processing, web scraping, using apis, and even GUI automation are covered in depth. Even individuals with little programming knowledge may understand complicated ideas because to Sweigart’s clear and succinct writing style and relevant examples.
Here’s a brief of what you’ll find in each chapter.
Part I: Python Programming Basics
Chapter 1: Python Basics
Explains expressions, the most fundamental Python command, and how to explore with programming using the Python interactive shell.
Chapter 2: Flow Control
Shows how to make programmes choose which instructions to carry out so that your code may react intelligently to various circumstances.
Chapter 3: Functions
Teaches you how to create custom functions so you may divide up your code into more digestible sections.
Chapter 4: Lists
Introduces the list data type and provides information on data organisation.
Chapter 5: Dictionaries and Structuring Data
Introduces the dictionary data type and demonstrates more effective techniques for data organisation.
Chapter 6: Manipulating Strings
Explains how to work with text data, or strings in Python.
Part II: Automating Tasks
Chapter 7: Pattern Matching with Regular Expressions
Explains how to use regular expressions to find text patterns and alter strings in Python.
Chapter 8: Input Validation
Explains how your programme may validate the data users provide it with, guaranteeing that the data comes in a format that won’t lead to problems in the rest of the programme.
Chapter 9: Reading and Writing Files
Explains how your programme may store information to files on your hard drive and read the contents of text files.
Chapter 10: Organizing Files
Demonstrates how Python is significantly quicker than a human user in copying, moving, renaming, and deleting huge amounts of files. Describes file compression and decompression as well.
Chapter 11: Debugging
Demonstrates the usage of the various tools for discovering and solving bugs in Python.
Chapter 12: Web Scraping
Demonstrates how to create software that can automatically download web pages and extract their contents. It’s known as web scraping.
Chapter 13: Working with Excel Spreadsheets
Covers manipulating Excel spreadsheets programmatically so you don’t have to. When you need to analyse hundreds or thousands of papers, this is beneficial.
Chapter 14: Working with Google Sheets
Explains how to use Python to read and update Google Sheets, a well-known spreadsheet programme on the web.
Chapter 15: Working with PDF and Word Documents
Explains how to read Word and PDF documents programmatically.
Chapter 16: Working with CSV Files and JSON Data
Explains how to alter documents programmatically once more, this time focusing on CSV and JSON files.
Chapter 17: Keeping Time, Scheduling Tasks, and Launching Programs
Explains how to arrange your computer to carry out activities at specific times and how Python programmes manage time and dates. Demonstrates how non-Python programmes may be started by your Python programmes.
Chapter 18: Sending Email and Text Messages
Explains how to create software that can send texts and emails on your behalf.
Chapter 19: Manipulating Images
Explains how to edit image files like JPEG or PNG files using programming.
Chapter 20: Controlling the Keyboard and Mouse with GUI Automation
Explains how to automate keypresses and clicks on the mouse and keyboard using programmes.
Appendix A: Installing Third-Party Modules
Demonstrates how to introduce valuable new modules to Python.
Appendix B: Running Programs
Demonstrates how to launch Python programmes outside of the code editor on Windows, macos, and Linux.
Appendix C: Answers to the Practice Questions
Answers the practise questions at the conclusion of each chapter and adds some more background.
Python project with source code to do list application
You can download the book for free from here: