r/learnpython • u/_JAcKSparr0W_ • 3d ago
Seeking help with building logic while learning Python programming
I'm a DevOps engineer with 2 years of experience, and I come from a commerce educational background.
I've tried learning Python several times in the past, mainly when I was switching jobs and preparing for interviews. However, I ended up joining companies where Python wasn't really required or where nobody was particularly concerned about my Python skills.
Currently, I use AI to generate scripts for many of my daily DevOps tasks. My biggest concern is that I'm not able to build the logic myself or write the syntax from scratch. I often struggle with knowing when to use what.
The last time I seriously learned Python, I got up to lambda functions. That was about a year ago, and now I've completely forgotten a lot of the basics, including data types and syntax.
I want to properly learn Python because it's one of the most commonly mentioned skills in the DevOps/SRE job descriptions I see, especially for bigger tech companies. I've also lost a few interviews in the past because of my lack of Python knowledge.:
I'd really appreciate advice from people who have been through a similar situation. What worked for you?
5
u/BarchesterChronicles 3d ago
Wait, you can be a DevOps engineer without knowing how to program? That's kinda wild to me! How do you know whether the scripts it's generating are correct? My first job would be to learn every keyword in those scripts and what they are doing. Have AI explain it to you, "line by line". And then drill down into the bits you still don't understand.