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

7

u/Available_Safe1818 10h ago

Stop using videos, and write your own code. Learn to use Google.

1

u/Glittering-Olive-404 10h ago

I am trying to! But unfortunately I have no experience in coding at all so I need a baseline for this. My degree has nothing to do with coding and I didn’t know a single thing about coding a week ago, Google often gave me YouTube videos which I would watch but fail to be able to execute! I will try to start coding and seeing what works and what doesn’t more though instead of relying on videos!

3

u/Available_Safe1818 10h ago

Look for tutorials that are not videos. All the information is out there in non-video form.

1

u/av8rgeek 1h ago

Important: coding is implementation of an algorithm/logic on a computer. Learn the basic programming concepts and you can write in any language.