Automate The Boring Stuff With Python PDF
The book is suitable for absolute beginners in programming.
As the author writes, his book will not help the reader to turn from a beginner to a professional developer.
It is intended for people who have no direct connection with programming at all: office workers, administrators and representatives of other professions. That is, it is for people who use a computer for work and play. The lessons in this book will help them learn the basics of programming and start using Python to automate simple tasks:
- moving and renaming thousands of files,
- filling out online forms,
- downloading files or copying text from sites,
- displaying notifications on the screen,
- updating or formatting Excel tables,
- checking mail and sending prepared responses.
Automate The Boring Stuff With Python
The book will help beginners understand programming in Python and immediately apply their knowledge. This edition of this book includes a new chapter on validating inputs, as well as tutorials for automating Gmail and Google Sheets, and tips for automatically updating CSV files. After reading the book, you can write programs that will: Search for text in a file or in several at once; Create, update, move and rename files; Search and download content from the web; Refresh and format data in Excel; Edit, watermark and encode PDFs. See details here: https://python.engineering/automate-the-boring-stuff-with-python/
Step-by-step instructions will help you better understand how a program works, and updated tutorial projects at the end of each chapter will provide an opportunity to apply the skills learned to automate similar tasks.
Don't waste time doing routine work. Even with no programming experience, thanks to this book, you can easily get your computer to do everything you need to do!
Book by Al Sweigart
Al Sweigart is a software developer and author of many computer books. Python is his favorite programming language, for which he has developed several open source modules. Many of Al Sweigart's books are freely available under a Creative Commons license from his website: https://inventwithpython.com
This book is not a reference, but a beginner's guide. The programming style it uses sometimes goes against common practices (for example, some programs use global variables), but this is a compromise solution to make the code easier to learn. The book is intended for those who will only need to learn how to write simple one-time code, so no special attention is paid to the style of the programs and giving them an elegant look. This book does not cover advanced programming concepts such as OOP, lists, or generators, to keep things simple. Experienced programmers will probably find places in the book where the code can be made more efficient, but we are primarily interested in creating workable programs with minimal effort.