Automate It!
Put your life on Autopilot with the magic and power of PythonAbout This Book* Learn how to construct Python scripts to scrape data, manipulate files, and access websites' APIs* This book is designed for Python developers of any experience level, and the recipe-based approach will allow you to run code and get instant results* This book is written in Python 3.5 syntax to future-proof your automation and you'll get an understanding of how to customize the scripts to meet your future automation needsWho This Book Is ForOur audience is programmers who know Python but need not be experts. They will however know a lot of the basics of the syntax and some basic experience with the command line. Ultimately, they're people who see themselves as busy and want to find cool hacks to automate all the mundane and time-consuming tasks they find themselves doing on a daily basis.What You Will Learn* Implement file deduplication and how to parse HTML content in Python.* Study an example application that will enable you to work with spreadsheets* Get acquainted with the Python modules used to work with e-mails* Manipulate images using Pillow and schedule tasks with respect to time zones* Use XML or JSON as a message format across distributed systems* Develop a Python application with logging and see an example of debugging* Integrate Python with Mongo and Redis databases* Generate reports using PandasIn DetailAutomate It! gives you a great selection of recipes to automate your life with Python and provides a platform for Python developers to start thinking about how they can use Python to do the stuff that takes up their time. Python's key strength is its usability as a scripting language to achieve just about anything, using a mouse and key board for repetitive actions. Python is extremely easy to use and can help you get complex tasks done efficiently.With a classic problem-solution based approach, you will delve directly into the things that matter in your daily work. You will start by learning how to work with Python scripts and how to use Python with Excel, PDF, and DOC files that you work with every day. You will realize how easy it is to manipulate files using the power of Python and move on to learning about file systems in detail.Any complication that you may have faced while accessing APIs in Python will also be smoothed out. You will also get acquainted with how to effectively and easily use Python code to manage SMS and voice notifications, imaging, and time zones. As a developer, you need to know how quickly and easily you can debug your Python code, analyze data, and generate reports on demand and mechanize database automation. This book will arm you with knowledge to customize the solutions to meet your needs.The end goal of this book is to make you more productive, as well as feel good about your skills as a developer.