Book description
Step-by-step instructions which take you through each program to automate monotonous tasks with Python 3.7
Key Features
- Automate integral business processes such as report generation, email marketing, and lead generation
- Build your first web application that scrapes data and accesses websites' APIs
- Create graphic-rich charts, graphs, and maps using Matplotlib
Book Description
Have you been doing the same old monotonous office work over and over again? Or have you been trying to find an easy way to make your life better by automating some of your repetitive tasks? Through a tried and tested approach, understand how to automate all the boring stuff using Python.
The Python Automation Cookbook helps you develop a clear understanding of how to automate your business processes using Python, including detecting opportunities by scraping the web, analyzing information to generate automatic spreadsheets reports with graphs, and communicating with automatically generated emails.
You'll learn how to get notifications via text messages and run tasks while your mind is focused on other important activities, followed by understanding how to scan documents such as resumes. Once you've gotten familiar with the fundamentals, you'll be introduced to the world of graphs, along with studying how to produce organized charts using Matplotlib. In addition to this, you'll gain in-depth knowledge of how to generate rich graphics showing relevant information.
By the end of this book, you'll have refined your skills by attaining a sound understanding of how to identify and correct problems to produce superior and reliable systems.
What you will learn
- Get to grips with scraping a website to detect changes
- Search and process raw sales files to aggregate information in spreadsheets
- Explore techniques to extract information from an Excel spreadsheet and generate exciting reports with graphs
- Discover the techniques required to generate random, print-friendly codes to be used as single-use coupons
- Automatically generate a marketing campaign, contacting the recipients over different channels
- Identify and implement precise solutions
Who this book is for
The Python Automation Cookbook is for you if you are a developer or anyone who wants to automate monotonous manual tasks related to fields such as finance, sales, and HR, among others.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Preface
-
Let Us Begin Our Automation Journey
- Introduction
- Creating a virtual environment
- Installing third-party packages
- Creating strings with formatted values
- Manipulating strings
- Extracting data from structured strings
- Using a third-party tool—parse
- Introducing regular expressions
- Going deeper into regular expressions
- Adding command-line arguments
- Automating Tasks Made Easy
- Building Your First Web Scraping Application
- Searching and Reading Local Files
-
Generating Fantastic Reports
- Introduction
- 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
- Developing Stunning Graphs
- Dealing with Communication Channels
- Why Not Automate Your Marketing Campaign?
- Debugging Techniques
- Other Books You May Enjoy
Product information
- Title: Python Automation Cookbook
- Author(s):
- Release date: September 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789133806
You might also like
book
Python Automation Cookbook - Second Edition
Get a firm grip on the core processes including browser automation, web scraping, Word, Excel, and …
book
Python Cookbook
The Python Cookbook is a collection of problems, solutions, and practical examples for Python programmers, written …
book
Hands-On Enterprise Automation with Python.
Invent your own Python scripts to automate your infrastructure About This Book Make the most of …
book
Modern Python Cookbook
The latest in modern Python recipes for the busy modern programmer About This Book Develop succinct, …