I liked "Python Tricks" and "Automate the boring stuff with python", though I have consistently found that I needed to look at other online tutorials to fill in the gaps, be they due to newer python (3.10 for example), or library specific challenges (boto3). Answer from Double_Intention_641 on reddit.com
🌐
O'Reilly
oreilly.com › library › view › python-for-devops › 9781492057680
Python for DevOps [Book]
December 12, 2019 - Python foundations, including a brief introduction to the language · How to automate text, write command-line tools, and automate the filesystem · Linux utilities, package management, build systems, monitoring and instrumentation, and automated testing · Cloud computing, infrastructure as code, Kubernetes, and serverless · Machine learning operations and data engineering from a DevOps perspective
Authors   Noah GiftKennedy Behrman
Published   2019
Pages   506
Discussions

Python for devops
Interacting with AWS using boto3, cdktf for some weird terraform stuff, hacking some helmfile diff outputs for a makeshift drift detector... and that's just from the top of my head More on reddit.com
🌐 r/devops
42
28
August 21, 2023
How much python should you know?
For most devops use cases: Basic procedural syntax: if, while, for, with, variables, function definitions, module imports, etc Basic CLI option handling: Learn the argparse module Common utility modules: Learn the json, requests, and whatever your cloud provider uses (boto3 for AWS, etc). If you write bash or PowerShell scripts today, start converting them to Python. The process will teach you Python with a focus on what you'll actually use. You can mostly save advanced topics for much later: Object oriented programming and classes, decorators, module / library construction, test harnesses, frameworks, etc. More on reddit.com
🌐 r/devops
70
80
January 8, 2024
What level of Python should i learn for devops role?
I break programming down into 2 camps: full app development or scripting. Typically you’ll get by if you can go at least the scripting route. In the scripting sense, you’re usually just writing “glue” code that is working with already developed API’s from other tools/apps. Take data from one place, and move it to another. All my code in these projects are typically no more than a couple hundred lines. When I was learning this long ago, I would make small projects for myself. You talked about using boto3, so maybe put some fake JSON data in an S3 bucket, use the python library to pull that data out, sort it, and re-upload into a different S3 bucket as “sorted” data. Take this a step further and add this code using lambda and set it up on an automated schedule. Just some ideas to get you started. More on reddit.com
🌐 r/devops
31
44
November 29, 2024
Would learning Python be useful for DEVOPS?

Hell yes.

  • Python is the best language for fast scripting and automation.

  • Also it is a popular language for various automation tools (Ansible, Pulumi for example.).

  • There is a python library for just about anything you'll need in your job.

Last not least, Python is just so fun to work with

More on reddit.com
🌐 r/devops
65
42
July 15, 2021
People also ask

What to read after Python for Devops?
If you're wondering what to read next after Python for Devops, here are some recommendations we suggest:
  • Big Data by Viktor Mayer-Schönberger and Kenneth Cukier
  • Physics of the Future by Michio Kaku
  • On Intelligence by Jeff Hawkins and Sandra Blakeslee
  • Brave New War by John Robb
  • Abundance# by Peter H. Diamandis and Steven Kotler
  • The Signal and the Noise by Nate Silver
  • You Are Not a Gadget by Jaron Lanier
  • The Future of the Mind by Michio Kaku
  • The Second Machine Age by Erik Brynjolfsson and Andrew McAfee
  • Out of Control by Kevin Kelly
🌐
blinkist.com
blinkist.com › categories › technology & the future › python for devops summary
Python for Devops Summary of Key Ideas and Review | Noah Gift - ...
What is the main message of Python for Devops?
The main message of Python for Devops emphasizes using Python to streamline and automate DevOps processes effectively.
🌐
blinkist.com
blinkist.com › categories › technology & the future › python for devops summary
Python for Devops Summary of Key Ideas and Review | Noah Gift - ...
🌐
Amazon
amazon.com › Python-DevOps-Ruthlessly-Effective-Automation › dp › 149205769X
Python for DevOps: Learn Ruthlessly Effective Automation: Gift, Noah, Behrman, Kennedy, Deza, Alfredo: 9781492057697: Amazon.com: Books
Throughout these transformations, Python has become one of the most popular languages in the world. This practical resource shows you how to use Python for everyday Linux systems administration tasks with today’s most useful DevOps tools, including Docker, Kubernetes, and Terraform.
🌐
Blinkist
blinkist.com › categories › technology & the future › python for devops summary
Python for Devops Summary of Key Ideas and Review | Noah Gift - Blinkist
Gift emphasizes the importance of automation, collaboration, and monitoring in the DevOps process. The author then delves into the basics of Python, highlighting its versatility and ease of use. He covers topics such as data types, control structures, functions, and classes, providing a solid foundation for readers who may be new to the language.
Author   Noah Gift
🌐
Medium
programmingwithjon.medium.com › python-for-devops-some-resources-d64ba929f73a
Python for DevOps, Some Resources | by Jonathan Reeves | Medium
June 22, 2021 - Hello, for anyone looking to get into the DevOps field I have a story for you. I have been learning as much as I can about using Python for DevOps. Some of the concepts went over my head and I had to study them a bit more.
🌐
Shortform
shortform.com › best-books › book › python-for-devops-book-reviews-noah-gift
Book Reviews: Python for Devops, by Noah Gift (Updated for 2021)
Looking for effective ways to "get stuff done" in Python? This is your guide. Python foundations, including a brief introduction to the language How to automate text, write command-line tools, and automate the filesystem Linux utilities, package management, build systems, monitoring and instrumentation, and automated testing Cloud computing, infrastructure as code, Kubernetes, and serverless Machine learning operations and data engineering from a DevOps perspective Building, deploying, and operationalizing a machine learning project less
Author   Noah Gift
Rating: 4.4 ​ - ​ 26 votes
Find elsewhere
🌐
Goodreads
goodreads.com › book › show › 50204716-python-for-devops
Python for Devops: Learn Ruthlessly Effective Automation by Noah Gift | Goodreads
It could have been an absolute bomb, but it is not :( My initial impression was stellar - it was supposed to be a book that presents how one can use Python to maximize the ROI on using some key DevOps tools/techniques.
Pages   506
🌐
Amazon
amazon.com › Hands-Python-DevOps-streamline-automation › dp › 1835081169
Hands-On Python for DevOps: Leverage Python's native libraries to streamline your workflow and save time with automation: Ankur Roy: 9781835081167: Amazon.com: Books
You'll start by understanding the symbiotic relation between Python and DevOps philosophies and then explore the applications of Python for provisioning and manipulating VMs and other cloud resources to facilitate DevOps activities. With illustrated examples, you’ll become familiar with automating DevOps tasks and learn where and how Python can be used to enhance CI/CD pipelines.
🌐
GitHub
github.com › iam-veeramalla › python-for-devops
GitHub - iam-veeramalla/python-for-devops: Learn Python from DevOps Engineer point of you. · GitHub
Regular expressions for text processing. Numeric data types in Python (int, float). Understanding variables in Python. Variable scope and lifetime. Variable naming conventions and best practices. ... Example: Using variables to store and manipulate configuration data in a DevOps context.
Starred by 4.5K users
Forked by 9.7K users
Languages   Python
🌐
Reddit
reddit.com › r/devops › how much python should you know?
r/devops on Reddit: How much python should you know?
January 8, 2024 -

I recently had an interview for a Devops position and I think I failed at the live coding python session.

I’m currently a mid level devops engineer. I haven’t got much experience with programming languages in general and very minimal scripting experience. This is mainly because in my role the opportunities just haven’t been there to do so.

I’ve recently realised that without some sort of scripting competency, I’ll probably struggle in the future to keep up with the rest of the candidates on the market.

My question is, how much python should I really know. If I just need to be able to script, then what are the fundamentals that I need to learn?

Many thanks

🌐
DevOps Cube
devopscube.com › python-for-devops
Python for DevOps in 2026: Complete Guide for DevOps Engineers
January 29, 2026 - I have grouped Python’s different use cases in DevOps into five categories. Let’s look at them one by one, Many open-source tools are available for infrastructure provisioning, configuration management, continuous integration, continuous deployment, etc. However, there are scenarios where the native tooling functionality might not be sufficient to implement the required functionality.
🌐
StarAgile
staragile.com › blog › python-for-devops
Python for DevOps: Benefits, Use Cases & Examples
DevOps Course Online With Gen AI & Job Placement
Explore Python for DevOps: usage in automation, CI/CD, and scripting. See examples and discover the benefits it brings to modern DevOps workflows. Highly recommended. A great trainer and a great session. The best part was that day-to-day examples were given to understand the concepts. More focus was given to understand the framework rather than passing the certification. All the best StarAgile!
Rating: 5 ​
Price   $400
Call   9513393880
Address   No. 549, 2nd Floor, 14th Main Rd, Sector 7, 560102, HSR Layout
(4.8)
🌐
Reddit
reddit.com › r/devops › what level of python should i learn for devops role?
r/devops on Reddit: What level of Python should i learn for devops role?
November 29, 2024 -

Every company asking for python expertise. What should i prepare for interview level. Programs like palllindrome, Fibonacci series e.t. c or need to practice some programs or request modules or should i directly jump to easy medium leetcode...

I have only basic knowledge of python + have some familiarity on usage of requests,boto3 module and never worked on any realtime projects.

🌐
Udemy
udemy.com › it & software
Python for DevOps: Mastering Real-World Automation
3 weeks ago - This lecture compares the "look before you leap" approach with the "easier to ask for forgiveness than permission" approach, showing how try/except blocks can simplify control flow. ... Explore the rich hierarchy of built-in exceptions that Python provides. You'll learn how to write a script to inspect this hierarchy, helping you understand which exceptions to catch in your code. ... This lecture covers two of the most common exception families you'll encounter in DevOps automation.
Rating: 4.6 ​ - ​ 400 votes
🌐
Real Python
realpython.com › learning-paths › python-devops
DevOps With Python (Learning Path) – Real Python
Find out how to how set up Continuous Integration for your Python project to automatically create environments, install dependencies, and run tests. ... Agile methodologies rely on robust DevOps systems to manage and automate common tasks in a continually changing codebase.
🌐
python_devops_book
paiml.github.io › python_devops_book
Python For DevOps: Learn Ruthlessly Effective Automation
Python foundations, including a brief introduction to the language How to automate text, write command-line tools, and automate the filesystem Linux utilities, package management, build systems, monitoring and instrumentation, and automated testing Cloud computing, infrastructure as code, Kubernetes, and serverless Machine learning operations and data engineering from a DevOps perspective Building, deploying, and operationalizing a machine learning project
🌐
The Chief
thechief.io › c › editorial › python-for-devops
Python for DevOps
Even though it is not required, Python is one of the primary technologies used by professionals and teams practicing DevOps. Python provides the flexibility and accessibility needed in this process, making it an excellent choice for DevOps tasks.
🌐
Barnes & Noble
barnesandnoble.com › w › python-for-devops-noah-gift › 1132124390
Python for DevOps: Learn Ruthlessly Effective Automation by Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu, Paperback | Barnes & Noble®
Throughout these transformations, Python has become one of the most popular languages in the world. This practical resource shows you how to use Python for everyday Linux systems administration tasks with today’s most useful DevOps tools, including Docker, Kubernetes, and Terraform.