r/learnpython • u/Glittering-Olive-404 • 2d 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.
View all comments
3
u/desrtfx but other languages pro 2d ago
Stop youtube tutorials that give you the code and only make you retype it. They are useless.
Do a proper course: MOOC Python Programming 2026 from the University of Helsinki. Free, textual, extremely practice oriented and a proper first semester of "Introduction to Computer Science" course. The course, contrary to most tutorials does not give you the code to retype/copy but instead gives you the tools and makes you, the learner, develop the solution and implement it in code.
You need to program, which means that you need to develop everything from a given problem, to an algorithmic step by step solution for the problem and its sub-problems, that then, finally, can be implemented in code. Code is a late step in programming. It is not the beginning.
There are two things to unpack.
ais not the same asAin many programming languages (there are case insensitive ones, though, but Python is not one of them).Trueis not the same astrueand so on.