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

2

u/mc_pm 7h ago

Are you actually typing in code and trying to figure out why it isn't working? If not, then you're not really learning python.

Learning to program by watching videos is like learning to drive by watching videos. You can get the basic idea, but until you're actually there and doing it, it's not really all connecting.

1

u/Glittering-Olive-404 2h ago

I am! I appreciate your advice a lot, this made me take a step back and play around with the features and strings before the referencing tutorials and articles and that helped a lot! Thank you so much for taking time out of your day to respond and give me advice