r/learnpython 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?

23 Upvotes

10 comments sorted by

View all comments

1

u/falXks 3d ago

Honestly, there's nothing wrong with using AI to get your work done, as long as you don't completely delegate your thinking to it. ​I use AI myself to speed up tasks and learn, but I always review the code manually. I study how it structures things and fix any mistakes it makes. Treating AI as an assistant to double-check rather than a replacement for understanding really helped me keep my core coding skills sharp.