r/learnpython • • Jun 14 '24

How to learn python

Are there any ways a social sciences and humanities undergraduate student can pick up python more easily? I tried Linkedin videos, Kaggle, Harvard's CS50 python but it is still difficult and I often have problems solving the code challenges without looking at the solutions. Do anyone have any recommendations on any resources to learn python more easily? Please help.

0 Upvotes

12 comments sorted by

View all comments

5

u/Chaos-n-Dissonance Jun 14 '24

So there's a reason they're called programming languages.

Imagine you wanted to learn Spanish, and only spoke English. You would learn by translating. "One in Spanish is Uno, two is dos, etc". Not the easiest thing, but pretty straight forward and just a lot of words to memorize. If you keep at it and take it seriously? You can become pretty damn good at that language within a month or two.

But... What about babies? They learn a language, and don't have anything to translate from. Suddenly... This is a lot harder. You have to learn everything that makes a language a language, all the rules for that specific language, and all the words. This is something that takes years, even decades... And I'm sure we all know a few people that struggle to speak even a single language coherently.

In this metaphor... You're the baby. You've never programmed anything before, you know exactly 0 programming languages. The hardest part? Is going to be learning your first. You're going to struggle with the basics. You're going to make mistakes. What you're trying to do, is not easy... Yet. But just like learning your first language... If you stick with it? Things will click, it'll become easier. You just gotta stick with it until it clicks.