Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Ambuj Agrawal

Rating No ratings yet

500% improvement in productivity by automating tedious chores KEY FEATURES ● Contains numerous automation projects, including excel sheets, word documents, pdf files, websites, and messenger. ● Provides a strong understanding of Automation, its fundamentals, and strategies to implement it across organizations. ● Nurtures various techniques to improvise operational efficiency around repetitive business processes. DESCRIPTION Written by ZappyAI's founder, this book gives real-world examples of how readers can implement automation in their businesses and business-as-usual tasks. Through a series of real-world examples and live demonstrations, this book shows how to automate various tasks using Python scripts. This book gives solutions to everyday automation needs and repetitive tasks at work every day. Readers will be able to discover the most typical business process that can be automated and write simple Python scripts to turn them automated. This book will teach you how to create, read, change, and extract data from Excel documents using Python programming. Readers can extract data from websites, PDF documents, Gmail, Outlook, and WhatsApp chats. Text extraction from photos and scanned documents is also smartly accomplished in this book. The final section will examine techniques for extending your Python scripting skills and constructing complicated end-to-end process automation. Throughout the book, readers will be utterly captivated by how to automate their tedious tasks and enhance their organisations' productivity by 500 percent. WHAT YOU WILL LEARN ● Learn to write automation scripts by learning how to use different Python scripts. ● Find out how to look at the business process to automate it. ● Create, read, edit, and extract data from spreadsheets, documents, and PDFs. ● Control mouse and keyboard activities, as well as automate several desktop apps. ● Examine strategies for automating the downloading and extraction of data from the Internet and websites. ● O

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A hands-on field guide for business and operations professionals who want to replace repetitive office chores—spreadsheets, documents, web scraping, email, and desktop apps—with practical Python scripts. Best suited to readers with basic Python literacy who learn by building small, immediately useful automations. 【Book Arc】 - **Opening (~0%–15%)**: Sets up the automation mindset and toolchain—why business processes are worth automating, how to spot candidates (data extraction, data gathering, report handling), and how to install and use a Python editor such as Mu, Anaconda, or VS Code. - **Early (~15%–35%)**: Refreshes the Python fundamentals the rest of the book depends on—variables, operators, conditionals, loops, and core data structures (lists, tuples, dictionaries, sets)—plus a framework for identifying and prioritizing business processes to automate. - **Middle (~35%–60%)**: The core toolkit chapters. Excel/CSV manipulation with openpyxl, web downloading and HTML parsing with Beautiful Soup, browser automation with Selenium (forms, clicks, keystrokes), and file handling across PDFs (PyPDF2) and Word documents (python-docx). - **Late (~60%–85%)**: Extends automation beyond structured files—image-based automation, OCR for scanned documents and photos, and controlling keyboard, mouse, and desktop applications via screenshots. - **Ending (~85%–100%)**: Moves toward production-grade work: scheduling and event-triggered scripts, launching programs, building simple APIs, chaining multiple scripts into end-to-end pipelines, and touching on machine learning as an automation ingredient. 【Key Takeaways】 - **Automation starts with process discovery, not code** (Early): The book frames the real skill as spotting repetitive, rule-based business processes—customer detail extraction, PDF-to-Excel conversion, report scraping, stock-price gathering—before writing a single line. (Early) - **Excel and CSV are the highest-leverage first target** (Middle): openpyxl covers creating, reading, updating, iterating, and copying data between workbooks, making it the most immediately applicable chapter for office work. (Middle) - **Web automation splits into two distinct tools** (Middle): Use requests/Beautiful Soup for static HTML extraction (tags, IDs, classes, links), and Selenium with a Chrome driver for interactive tasks like form filling and search. (Middle) - **Documents are programmable too** (Middle): PyPDF2 handles reading, writing, merging, and blank-page creation; python-docx handles paragraphs, headings, and page breaks—enabling PDF-to-Word conversion pipelines. (Middle) - **Desktop and image automation close the last gap** (Late): Pillow plus OCR let you extract text from screenshots and scanned images, while keyboard/mouse control automates apps that have no API. (Late) - **Scheduling turns scripts into systems** (Ending): Timer programs, external triggers, and program launching are what convert one-off scripts into recurring business automation. (Ending) - **Complex automation = composition** (Ending): The book's endpoint is chaining multiple scripts, exposing them via simple APIs, and optionally layering machine learning—not writing one giant script. (Ending) 【Reading Tips】 - **Skim the Python refresher if you already code**: The early chapters on loops and data structures are foundational but basic; jump to the process-identification material, which is the book's more distinctive contribution. - **Deep-read the Excel, web, and document chapters**: These are the highest-density practical value and the ones most readers will return to as reference. - **Set up your environment before Chapter 4**: Install Mu or VS Code, openpyxl, Beautiful Soup, Selenium plus the matching Chrome driver, PyPDF2, and python-docx early—most friction comes from environment issues, not code. - **Build one end-to-end automation of your own**: Pick a real recurring task from your job and run it through the book's arc (identify → script → schedule) rather than only typing the examples. - **Treat the ending chapters as a roadmap**: API creation and ML-for-automation are introductions, not deep dives—note them for later study. 【Coverage Limits】 This guide is synthesized from stratified excerpts covering the front matter, table of contents, and early-to-middle chapters; the later chapters on image automation, scheduling, and complex pipelines are described mainly from their headings and objectives, so specific code details there are not covered.
Excerpt 1
it, and extract data from spreadsheets, documents, and PDFs. ● Control mouse and keyboard activities, as well as automate several desktop apps. ● Examine str...
View in text
Excerpt 2
o.com/docs/languages/pyth on PyCharm Python IDE https://www.jetbrains.com/pycharm/ Code with Mu tutorials https://codewith.mu/en/tutorials/ Python code edito...
View in text
Excerpt 3
t ways to iterate through the data depending on your needs. You can slice the data with a combination of columns and rows. To access a value of a cell, use t...
View in text
Excerpt 4
5 and 5.16: Figure 5.18: Performing automated Chrome search We can also automate tasks involving filling up forms or copying data from in- house applications...
View in text
Excerpt 5
igured in the Outlook application. Outlook email automation For automation of Outlook applications, we will use the pywin32 library which provides access to...
View in text
Excerpt 6
is class where a factor of 1.0 is the original image color, a factor of 0.0 is a blurred image, and a factor higher than 1.0 gives a sharpened image. Figure...
View in text
Excerpt 7
le, we can use the test_request_context() method to try out the url_for() function to get the URL for functions as shown in Figure 11.6: automation, you may...
View in text
Excerpt 8
ing 104-107 mouse automation functions click() function 105 drag() function 105 dragTo() function 105 moveTo() function 104 scroll() function 105 Mu 2 starti...
View in text
Tags
AI categories
PythonProgrammingTechnology
ISBN: 935551137X
Publisher: BPB Publications
Publish Year: 2022
Language: English
Pages: 194
File Format: PDF
File Size: 5.5 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…