r/learnpython • u/Glittering-Olive-404 • 11h ago
How Do I Actually Learn Python?
I’m sorry, this is probably a really dumb question but I’m picking up python as a hobby to learn between work and classes. I’ve never coded before and I’m not interested in doing it career-wise or anything like that. I just want to be able to understand the fundamentals of it. I’ve gone through many online courses as well as YouTube tutorials. I always get it in theory, when they explain the strings, integers, and whatnot, but when I actually go to write lines of code, I always find myself getting error codes, even when I follow the tutorial exactly, which honestly baffles me.
Does anybody have any tricks on how to deal with this learning curve? Something that might be extremely common knowledge to everybody else that I’m missing? Or any resources they could provide? I really want to learn how to code, I’m just not sure how I begin troubleshooting something that I don’t understand, if that makes sense.
1
u/kayonred 3h ago
I'm self taught in programming-java. No one has ever guided me or helped me outside the resources I used,books mainly. Moreover,I have the disadvantage of being in a third world country with poor power supply and poor internet. For education my degree was in accounting. I wasn't pressured to learn programming. I was curious and simply wanted to know. What I did was: read many books, type in code compile, get it working. Continue reading, Continue practicing, wonder when I'd be able to create real commercial grade software. As u can see,I operated under a false assumption- that more knowledge would mean professionality and worse,that software would build itself. Also,I thought all software were written at a sitting, but i kept trying. Another misconception was that reading a book from cover to cover would mean I understand all the topics in it. Wrong
I wrote small programs along the way, then 3 years in,an event happened that marked a milestone in my learning. My handheld calculator died, it was a pemdas calc, and I thought, I've been programming for all these while,why not write it? It was a scary thought, but I took up the challenge, I knew nothing about languageceesign or compiler theory and it's lingo but after much sweat- no help anywhere,I was able to create it all from first principle. So what's the point, you don't have to know everything and get it all right before you begin. 2. Write programs. Write little programs that interest you alongside those the tutorials dictate. 3. You learn by doing, building stuffs and taking them apart. You need a curious mindset, a desire to know how things work an explorative mindset.
2 dec26