Python For Automation & Scripting: From Local Scripts to Scheduled, Production-Grade Infrastructure Automation
Paperback
Series: The Applied Python Library
Publisher: Independently Published
Published: Jul 13 2026
Pages: 232
Weight: 0.90
Height: 0.49 Width: 7.00 Depth: 10.00
Language: English
Every developer has experienced it.
Renaming hundreds of files. Cleaning spreadsheets. Downloading reports. Managing servers. Monitoring logs. Running the same commands every day. Updating cloud resources. Creating backups. Checking system health.
Most of these tasks shouldn't be done manually.
They should be automated.
Python for Automation & Scripting is a practical guide for Python developers who want to move beyond simple scripts and build reliable automation systems that can run safely, efficiently, and unattended in real-world environments. Instead of focusing on isolated examples, this book teaches you how professional engineers design automation tools that are secure, maintainable, and production-ready.
Throughout the book, you'll build Foreman, a complete automation platform that grows chapter by chapter. Beginning with filesystem operations and command-line tools, you'll progressively develop a professional automation toolkit capable of managing files, interacting with APIs, automating cloud resources, administering remote servers, scheduling recurring jobs, monitoring systems, handling failures, and deploying automation services that can be trusted to run without constant supervision.
Unlike many automation books that simply show how to make scripts work, this guide focuses on something even more important: making automation safe. Automation amplifies everything it does-including mistakes. That's why you'll learn how to write defensive code, build idempotent workflows, implement structured logging, recover gracefully from failures, and create automation systems that remain reliable long after they leave your laptop.
Inside you'll learn how to:
- Automate repetitive tasks using modern Python
- Build professional command-line applications
- Work safely with files, directories, and operating systems
- Consume REST APIs and automate web-based workflows
- Perform responsible web scraping
- Schedule recurring jobs and background services
- Manage remote servers using SSH and Fabric
- Automate AWS cloud infrastructure with Python
- Build Docker and infrastructure automation workflows
- Implement logging, monitoring, error handling, and resilient automation
- Package, distribute, and deploy production-ready automation tools
Every chapter combines practical projects, fully explained Python code, engineering best practices, and realistic scenarios inspired by the daily work of developers, DevOps engineers, system administrators, and IT professionals.
Whether your goal is to eliminate repetitive work, automate infrastructure, improve operational efficiency, or build powerful internal tools, this book provides the practical knowledge required to transform Python into one of your most valuable productivity tools.
By the end of the book, you won't simply know how to write scripts.
You'll know how to engineer automation systems that are reliable, scalable, and trusted to run in production.
Build once.
Automate forever.
Also from
Nolan Whitfield
Python For Data Engineering: Building Reliable Pipelines from Extraction to Production-Grade Warehouses
Nolan Whitfield
Paperback
Also in
Applications
R for Data Science: Import, Tidy, Transform, Visualize, and Model Data
Grolemund, Garrett
Wickham, Hadley
Paperback
Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Huyen, Chip
Paperback
R for Data Science: Import, Tidy, Transform, Visualize, and Model Data
Grolemund, Garrett
Cetinkaya-Rundel, Mine
Wickham, Hadley
Paperback
Microsoft 365 Excel All-In-One for Dummies
Kusleika, Dick
Ringstrom, David H.
Alexander, Michael
Paperback
Cloud Finops: Collaborative, Real-Time Cloud Value Decision Making
Storment, J. R.
Fuller, Mike
Paperback
Microsoft Excel Data Analysis and Business Modeling (Office 2021 and Microsoft 365)
Winston, Wayne
Paperback
Microsoft Copilot Studio Step by Step: Customizing Copilot and Creating Agents
Crosbie, Lisa
Paperback
The Insider You Built: How Organizations Stay in Control of Autonomous AI Agents
Stewart Gloster, Camille
Paperback
Ingeniería de Ia (Spanish Edition): Creación de Aplicaciones Con Modelos Fundacionales
Huyen, Chip
Paperback
An Introduction to Statistical Learning: With Applications in R
James, Gareth
Witten, Daniela
Hastie, Trevor
Paperback
Learning Generative AI Tools for Excel: Speed Up Your Everyday Tasks with Microsoft Excel, Copilot, Chatgpt, and Beyond
Duca, Angelica Lo
Paperback
Excel Formulas: Quickstudy Laminated Study Guide (Quickstudy Computer)
Jensen, Krista
Hales, John
Other
The AI Workweek: Cut Hours, Automate Busywork, and Focus on What Actually Matters
Gross, Ashley
Paperback
Learning Tableau 2025 - Sixth Edition: Leverage Tableau's newest features to revolutionize your data storytelling with AI-enhanced insights
Milligan, Joshua N.
Paperback
Soccer Analytics with Machine Learning: Learning Predictive Modeling Techniques with Sports Data
Gao, Haipeng
Shen, Weining
Joury, Ari
Paperback
Planning and Control Using Oracle Primavera P6 Versions 18 to 24 PPM Professional
Harris, Paul E.
Hanak, Jan
Paperback
Microsoft Power Bi Data Analyst Associate Study Guide: Prepare for the Pl-300 Exam and Use Power Bi Successfully
Turley, Paul
Paperback
Social Science Research Design and Statistics: A Practitioner's Guide to Research Methods and IBM SPSS Analysis
Rovai, Alfred P.
Baker, Jason D.
Ponton, Michael K.
Paperback
Planning and Control Using Oracle Primavera P6 Versions 8 to 21 PPM Professional
Harris, Paul E.
Paperback
Reimagining Collaboration: Slack, Microsoft Teams, Zoom, and the Post-COVID World of Work
Simon, Phil
Paperback
Planning and Control Using Oracle Primavera P6 Versions 18 to 23 PPM Professional
Harris, Paul E.
Paperback
Mastering QuickBooks 2026 - Seventh Edition: The complete guide to small business accounting with US QuickBooks Online
Shelton, Crystalynn
Paperback
The AI Agent Blueprint: A Practical Playbook for Building Agentic Artificial Intelligence: Launch Your First Agent in 30 Days
Daniels, Alexander J.
Paperback
Information Architecture: For the Web and Beyond
Morville, Peter
Arango, Jorge
Rosenfeld, Louis
Paperback
Python in Excel: Unlocking Powerful Data Analysis and Automation Solutions
Bastick, Liam
Newitt, Kathryn
Paperback
Master Your Data with Power Query in Excel and Power Bi: Leveraging Power Query to Get & Transform Your Task Flow
Puls, Ken
Escobar, Miguel
Paperback
Building Event-Driven Microservices: Leveraging Organizational Data at Scale
Bellemare, Adam
Paperback
Illustrated Microsoft(r) 365(r) & Office(r) Introductory, First Edition
Wermers, Lynn
Beskeen, David
Duffy, Jennifer
Paperback
The SaaS Email Marketing Playbook: Convert Leads, Increase Customer Retention, and Close More Recurring Revenue With Email
Garbugli, Étienne
Paperback
Software Profit Streams(TM): A Guide to Designing a Sustainably Profitable Business
Tanner, Jason
Hohmann, Luke
Paperback
Regression Modeling Strategies: With Applications to Linear Models, Logistic and Ordinal Regression, and Survival Analysis
Harrell Jr, Frank E.
Paperback
Data Visualization with Microsoft Power Bi: How to Design Savvy Dashboards
Kolokolov, Alex
Zelensky, Maxim
Paperback
AI for Gig Workers: Essential Strategies to Transform Your Freelance Career
Cerdeira, Pamela
Savage, Saiph
Savage, Liliana
Paperback
Analytics Engineering with Microsoft Fabric and Power Bi: The Definitive Guide for Building Enterprise-Grade Analytics Solutions
ILIC, Nikola
Watson, Shabnam
Paperback
Essential Math for AI: Next-Level Mathematics for Efficient and Successful AI Systems
Nelson, Hala
Paperback
Managing AI Projects: Drive Innovation and Successfully Navigate the Full AI Project Lifecycle
Sánchez, Adrián González
Runtasewee, Malini Jain
Paperback
Databricks Certified Data Engineer Associate Study Guide: In-Depth Guidance and Practice
Alhussein, Derar
Paperback
Python Machine Learning By Example - Fourth Edition: Unlock machine learning best practices with real-world use cases
Liu, Yuxi (Hayden)
Paperback
AI Can Make You Smarter: Practical Skills. Sharper Thinking. Business Value.
Kreitzberg, Charles B.
Paperback
Microsoft 365 Copilot Adoption: A Practical Guide for Business Leaders and Consultants
Smith, Megan
Smith, Mark
Paperback
Me, My Customer, and AI: The New Rules of Entrepreneurship
Thorne, Nicholas
Werdelin, Henrik
Hardcover
Power BI for Beginners: The 7-Day Method to Build Dashboards and Become a Data Strategist (Video Course Included)
Pierce, Callum
Pierce, Kora
Paperback
Microsoft Power Bi Visual Calculations: Simplifying Dax
Stikkelorum, Madzy
Lelijveld, Marc
Ter Heerdt, Jeroen
Paperback
Microsoft Excel in Easy Steps: Illustrated Using Excel in Microsoft 365
McGrath, Mike
Price, Michael
Paperback
The Developer's Playbook for Large Language Model Security: Building Secure AI Applications
Wilson, Steve
Paperback
Planning and Control Using Microsoft Project 365 and 2021: Including 2019, 2016 and 2013
Harris, Paul E.
Paperback
ML and Generative AI in the Data Lakehouse: Building and Deploying AI Applications at Scale
Haelen, Bennie
Paperback
Applied AI for Enterprise Java Development: Leveraging Generative Ai, Llms, and Machine Learning in the Java Enterprise
Eisele, Markus
Vinto, Natale
Bueno, Alex Soto
Paperback
Quickbooks Pro Desktop User Guide 2024: A Step-by-Step Handbook for Efficient Bookkeeping and Finance Management
Duncan, Michel M.
Paperback
Salesforce Certified Platform Administrator Study Guide: Launch and Elevate Your Salesforce Career
Wheeler, Mike
Paperback
Articulate Storyline 360: The Essentials and Beyond [2026 Edition]: A Hands-On, Project-Based Classroom in a Book for Building Engaging eLearning
Hadi, Kal
Siegel, Kevin
Paperback
Hexagonal Architecture Explained: How the Ports & Adapters architecture simplifies your life, and how to implement it, Updated 1st Ed.
Garrido de Paz, Juan Manuel
Cockburn, Alistair
Paperback
How AI Ate the World: A Brief History of Artificial Intelligence - And Its Long Future
Stokel-Walker, Chris
Paperback
Aprenda Visual Basic (Vba) Y Macros Para Excel: Más de 100 ejercicios resueltos, macros y juegos, para desarrollar tus habilidades de programación
Vidal Bosch, Josep Ramon
Paperback
High Performance Browser Networking: What Every Web Developer Should Know about Networking and Web Performance
Grigorik, Ilya
Paperback
Modern Data Analytics in Excel: Using Power Query, Power Pivot, and More for Enhanced Data Analytics
Mount, George
Paperback
Microsoft Excel VBA and Macros: Your Guide to Efficient Automation
Jelen, Bill
Syrstad, Tracy
Paperback
Boost Your Skills In Computer Basics for ESL Learners: (+ Online Simulations & Resources)
Wooden, Lois
Paperback
Numerical Python: Scientific Computing and Data Science Applications with Numpy, Scipy and Matplotlib
Johansson, Robert
Paperback
Machine Learning Design Patterns: Solutions to Common Challenges in Data Preparation, Model Building, and MLOps
Lakshmanan, Valliappa
Robinson, Sara
Munn, Michael
Paperback
Microsoft Office 365 Bible: Productivity Boost Edition. Skyrocket Efficiency with Office 365 Power Moves-Streamline Work, Master Shortcuts, and Impres
Tasker Publishing, Zen
Paperback
SAP Cloud Integration Cookbook: Advanced Cloud Integration with SAP Integration Suite
Urschick, Marc
Reisinger, Thorsten
Hardcover
The Big Book of Dashboards: Visualizing Your Data Using Real-World Business Scenarios
Cotgreave, Andy
Wexler, Steve
Shaffer, Jeffrey
Paperback
Dark Web: A Complete Guide to the Dark Web True Tales (The Addictive Input down able Gripping Crime Thriller of Mystery and Suspense)
Guerrero, Theodore
Paperback
Beyond Bullet Points: Using PowerPoint to Tell a Compelling Story That Gets Results
Atkinson, Cliff
Paperback
Learn Excel 2019 for Mac Expert Skills with The Smart Method: Tutorial teaching Advanced Techniques
Smart, Mike
Paperback
