r/learnpython • • 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.

16 Upvotes

55 comments sorted by

View all comments

1

u/AlieMay525 2h ago

For me I was at a point I thought I’d never actually learn without using like 10 resources and even then I didn’t get it and felt stupid. 1.5 years later I’m timing myself on how fast I can code. Practice is the best way. And once you get it, the error messages make sense and the fix’s make sense too. And over time you’ll find yourself just kind of doing it and then only occasionally referencing a resource.

I am in college as a computer science major and I feel like that might be easier as I also was able to learn the process of how you come up with codes and using pseudocode as well. I originally went back to college because I wanted to learn coding for making mods in video games. Just keep practicing.

1

u/Glittering-Olive-404 1h ago

Hello! Thank you so much for your reply, if I can ask, are there any beginner projects (ex. Hello world, calculator, etc.) you did specifically to get to where you are now? Or did you just keep tinkering around with all the features and strings? I was honestly feeling really discouraged until I saw this reply. Thank you for your help!!