Book description
Get a firm grip on the core processes including browser automation, web scraping, Word, Excel, and GUI automation with Python 3.8 and higher
Key Features
- Automate integral business processes such as report generation, email marketing, and lead generation
- Explore automated code testing and Python's growth in data science and AI automation in three new chapters
- Understand techniques to extract information and generate appealing graphs, and reports with Matplotlib
Book Description
In this updated and extended version of Python Automation Cookbook, each chapter now comprises the newest recipes and is revised to align with Python 3.8 and higher. The book includes three new chapters that focus on using Python for test automation, machine learning projects, and for working with messy data.
This edition will enable you to develop a sharp understanding of the fundamentals required to automate business processes through real-world tasks, such as developing your first web scraping application, analyzing information to generate spreadsheet reports with graphs, and communicating with automatically generated emails.
Once you grasp the basics, you will acquire the practical knowledge to create stunning graphs and charts using Matplotlib, generate rich graphics with relevant information, automate marketing campaigns, build machine learning projects, and execute debugging techniques.
By the end of this book, you will be proficient in identifying monotonous tasks and resolving process inefficiencies to produce superior and reliable systems.
What you will learn
- Learn data wrangling with Python and Pandas for your data science and AI projects
- Automate tasks such as text classification, email filtering, and web scraping with Python
- Use Matplotlib to generate a variety of stunning graphs, charts, and maps
- Automate a range of report generation tasks, from sending SMS and email campaigns to creating templates, adding images in Word, and even encrypting PDFs
- Master web scraping and web crawling of popular file formats and directories with tools like Beautiful Soup
- Build cool projects such as a Telegram bot for your marketing campaign, a reader from a news RSS feed, and a machine learning model to classify emails to the correct department based on their content
- Create fire-and-forget automation tasks by writing cron jobs, log files, and regexes with Python scripting
Who this book is for
Python Automation Cookbook - Second Edition is for developers, data enthusiasts or anyone who wants to automate monotonous manual tasks related to business processes such as finance, sales, and HR, among others. Working knowledge of Python is all you need to get started with this book.
Table of contents
- Preface
- Let's Begin Our Automation Journey
- Automating Tasks Made Easy
- Building Your First Web Scraping Application
- Searching and Reading Local Files
-
Generating Fantastic Reports
- Creating a simple report in plain text
- Using templates for reports
- Formatting text in Markdown
- Writing a basic Word document
- Styling a Word document
- Generating structure in Word documents
- Adding pictures to Word documents
- Writing a simple PDF document
- Structuring a PDF
- Aggregating PDF reports
- Watermarking and encrypting a PDF
- Fun with Spreadsheets
- Cleaning and Processing Data
- Developing Stunning Graphs
- Dealing with Communication Channels
- Why Not Automate Your Marketing Campaign?
- Machine Learning for Automation
- Automatic Testing Routines
- Debugging Techniques
- Other Books You May Enjoy
- Index
Product information
- Title: Python Automation Cookbook - Second Edition
- Author(s):
- Release date: May 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800207080
You might also like
book
Python Automation Cookbook
Step-by-step instructions which take you through each program to automate monotonous tasks with Python 3.7 Key …
book
Modern Python Cookbook - Second Edition
Complete recipes spread across 15 chapters to help you overcome commonly faced issues by Python for …
book
Python Cookbook, 3rd Edition
If you need help writing programs in Python 3, or want to update older Python 2 …
book
Advanced Python Programming - Second Edition
Write fast, robust, and highly reusable applications using Python's internal optimization, state-of-the-art performance-benchmarking tools, and cutting-edge …