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/Outer_Space_ 7h ago

If you like idle/incremental games, I can't recommend 'The Farmer was Replaced()' enough.

It's an automation game where you write code to control a drone to plant and manage crops. The coding is essentially python, there's internal documentation, and the progression really hammers home foundational concepts step by step.

2

u/Glittering-Olive-404 2h ago

Thank you! I’m going to take a look at this in a bit; I think the software I’m using is just a bit too overwhelming for me at the moment and I need something to tone it down and make it more palatable for me as a beginner. I love idle and farming games so this id right up my alley LOL I didn’t know something like this existed, thank you so much

1

u/Outer_Space_ 1h ago

No problem! I’ve been itching to recommend it to people. It’s the only code-learning tool I’ve come across that makes me think about programming problem solving while I’m away from the computer. Like when you start to dream about Minecraft or whatever, this game has had me thinking about defining functions and organizing dependencies while I’m falling asleep.