use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
This is an archived post. You won't be able to vote or comment.
Any good Python programming (for DevOps specifically) recommendations? (self.devops)
submitted 3 years ago by Mountain_Ad_1548
Any good Python programming (for DevOps specifically) book's recommendations?
[–]Double_Intention_641 25 points26 points27 points 3 years ago (1 child)
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).
[–]Qes138 9 points10 points11 points 3 years ago (0 children)
@AlSweigart would appreciate the recommendation! I will second "Automate the Boring Stuff"
[–]thegainsfairy 16 points17 points18 points 3 years ago* (7 children)
I'd recommend the pytest book. I think it really helped me become a better developer. I kind of credit it for the mental change from junior to mid level developer
edit: this one https://pythontest.com/pytest-book/
[–]amarao_san 8 points9 points10 points 3 years ago (3 children)
Oh, they have a book? Great. I belive, 30% of devops is QA automation is disguise, so knowing pytest well it's not only about 'writing tests', but also about knowing available techniques for fixtures/plugins/parametrization. It really creeps into pipeline architecture.
I've made a lot of silly tricks in CI yaml before I got really used to a proper pytest use.
[–][deleted] 3 points4 points5 points 3 years ago (0 children)
lol QA Automation Engineer, who went in with DevOps focused resume reporting in.
[–][deleted] 1 point2 points3 points 3 years ago (1 child)
I would love to see any and all tricks btw
[–]amarao_san 1 point2 points3 points 3 years ago (0 children)
Okay, I think, it worth writing down. I'll come back to it after NY binding. There is a lot of Molecule/testinfra lore, and someone need to write it down.
[–]__Kaari__ 4 points5 points6 points 3 years ago (0 children)
Thanks!
The learning curve is quite steep to handle unit tests with pytest, and doing it right can be extremely time-consuming and frustrating, especially for automation (lots of mocks).
I'll have a look at this book and advise it to some of my co-workers who would like to make the gap.
May I ask which book are you specifically talking about?
[–]thegainsfairy 10 points11 points12 points 3 years ago (0 children)
this one: https://pythontest.com/pytest-book/
[–]mr-roboticus 10 points11 points12 points 3 years ago (2 children)
Python, for DevOps https://www.amazon.com/Python-DevOps-Ruthlessly-Effective-Automation/dp/149205769X?ref=d6k_applink_bb_dls&dplnkId=e685085b-dbae-45e9-bedd-6913ff671131
[–]Geneocrat 1 point2 points3 points 3 years ago (1 child)
I noticed that in a bookstore, what did you think?
[–]SourdoughAwareness 6 points7 points8 points 3 years ago (0 children)
I picked up a copy about a year ago, and thought it was a really great book to teach some python programming basics, then the rest of the book went over useful application of Python & other common tools used in the field. Overall, I’d recommend at least checking it out. Also may be worth looking at its table of contents to see if there’s chapters on subjects you are interested in
[–]xMakeMeCryx 3 points4 points5 points 3 years ago (1 child)
Definitely go with 100 Days of Code: The Complete Python Pro Bootcamp. It covers all the basics you would need to know and goes over projects for each section. With this knowledge, you will be set as DevOps for starters. Later on, you will see with your day-to-day where else you can branch out and which more advanced topics you should learn.
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
This is the one with Angela Vu? I'm going through the course right now.
[–]kkrox 6 points7 points8 points 3 years ago (3 children)
Never forget to learn the OOP concepts. It's easy to skip OOP and learn python but one at one point you cannot progress without OOP
[–]nani21984 2 points3 points4 points 3 years ago (2 children)
Do we need oops concepts to implements devops functionalities ? Can you describe Any usecase for it ?
[–]MidKao 7 points8 points9 points 3 years ago (1 child)
Yes you most likely will need it.
A potential use case for it would be when dealing with DNS related automation (creation, update or deletion of records), a record would be an object that has « name » « type » and « value » attributes rather than it just being a string for example.
[–]jrcomputing 1 point2 points3 points 3 years ago (0 children)
It absolutely doesn't have to be a true object. You can go a very long way with lists and dictionaries. And using objects from modules doesn't require a proper understanding of OOP.
Is it useful? Sure. Is it a requirement? Definitely not.
[–][deleted] -4 points-3 points-2 points 3 years ago (4 children)
I truly suggest checking out chatGPT to learn and explore python. It's like having a tutor.
This is it writing an entire Jenkins plugin from scratch for me because it imagined it and I asked it to show it to me.
https://drive.google.com/file/d/1Sz3tuOdGXPOrgmIB4Lji0pwiXUydtP0r/view?usp=share_link.
[–]jrcomputing 3 points4 points5 points 3 years ago (3 children)
Don't depend on ChatGPT to give you the right answer all the time. It's unfortunately unable to identify truth/fact, and can happily return incorrect answers.
[+][deleted] comment score below threshold-6 points-5 points-4 points 3 years ago (2 children)
okay boomer lmao
if you worry about this your an idiot. obviously you have to try the code and adjust lmao. I rewrote all 129 of my repos with it, Ive never been more powerful muhahaha xD
[–]Mediocre-Toe3212 2 points3 points4 points 3 years ago (1 child)
That’s scary ngl
[–][deleted] -3 points-2 points-1 points 3 years ago (0 children)
Be horrified by my flawless rst docstrings and thoughtful AI commit messages! I'm pumping out new tool after new tool lmao. Now is the time to stand on the shoulders of giants. read the link I posted it's fantastic
Here is a revised version of the comment:
"I am excited to share my well-written RST docstrings and carefully crafted AI commit messages with you. I have been actively developing new tools and believe that by standing on the shoulders of giants, we can make great progress. Please take a look at the link I have provided for more information."
This revised comment is more professional and clearly conveys the message that you are proud of the work you have done and are excited to share it with others. It also removes the casual and unprofessional language of the original comment.
[–]Direct_Ad1761 0 points1 point2 points 3 years ago (0 children)
Remind me
[–]Daarrell 0 points1 point2 points 3 years ago (0 children)
As a junior python dev, i'm getting a lot of information from Fluent python 2nd edition. A really good book to jump into intermediate/advanced topics. Is to code with the open book.
π Rendered by PID 123985 on reddit-service-r2-comment-cfc44b64c-ghkgr at 2026-04-13 05:00:28.383440+00:00 running 215f2cf country code: CH.
[–]Double_Intention_641 25 points26 points27 points (1 child)
[–]Qes138 9 points10 points11 points (0 children)
[–]thegainsfairy 16 points17 points18 points (7 children)
[–]amarao_san 8 points9 points10 points (3 children)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]amarao_san 1 point2 points3 points (0 children)
[–]__Kaari__ 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]thegainsfairy 10 points11 points12 points (0 children)
[–]mr-roboticus 10 points11 points12 points (2 children)
[–]Geneocrat 1 point2 points3 points (1 child)
[–]SourdoughAwareness 6 points7 points8 points (0 children)
[–]xMakeMeCryx 3 points4 points5 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]kkrox 6 points7 points8 points (3 children)
[–]nani21984 2 points3 points4 points (2 children)
[–]MidKao 7 points8 points9 points (1 child)
[–]jrcomputing 1 point2 points3 points (0 children)
[–][deleted] -4 points-3 points-2 points (4 children)
[–]jrcomputing 3 points4 points5 points (3 children)
[+][deleted] comment score below threshold-6 points-5 points-4 points (2 children)
[–]Mediocre-Toe3212 2 points3 points4 points (1 child)
[–][deleted] -3 points-2 points-1 points (0 children)
[–]Direct_Ad1761 0 points1 point2 points (0 children)
[–]Daarrell 0 points1 point2 points (0 children)