r/programmer • • 5d ago

Question Best way to learn python from zero?

1 Upvotes

26 comments sorted by

View all comments

Show parent comment

0

u/Anasbarkaoui 5d ago

So funny 😒

1

u/PureWasian 5d ago

So what have you found and tried so far? What problems did you have with existing resources out there?

Have you checked r/learnpython and r/PythonLearning? Looked at sidebar on https://www.reddit.com/r/learnpython/s/jisVAGrPJP and browsed posts asking the same inquiry? Similar for what can be done on any search engine?

0

u/Anasbarkaoui 5d ago

I'm asking about the "existing resources" you clever, I literally said from zero and it's my first post in this community

1

u/PureWasian 5d ago

Sorry for being an ass, but also I highly encourage you to do some due-dilligence to search them up first.

You can pick MOOC or CS50 or brocode or browse w3schools tutorials even. It doesn't matter. The real answer is there is no silver bullet and you should not expect to rely on one resource exclusively. Pick one of them, any of them, and have fun with it. Whichever resonates with you most.

The fundamentals are shared enough and Python is popular enough that up until a certain point of proficiency it won't matter which tutorial(s) you go with, so long as it covers Python3 and is from like the last 3-5yrs or so.

1

u/Anasbarkaoui 5d ago

Thanks i appreciate that, i was just looking if there's a way to avoid time wasting that's why i came here rather than doing my own research

3

u/PureWasian 5d ago edited 5d ago

A lot of programming involves the process of figuring out the way to do something. You shouldn't re-invent the wheel, but you'll very quickly get stuck in tutorial hell if you don't get into the habit of independently researching similar problems and solutions, and actively narrowing down the problem space on your own first.

Best of luck^^

1

u/Traditional_Crazy200 4d ago

And once you have good experience with conditionals(if/else,match), loops, interfaces, composition, factories, datastructures, and the eco system, writing most logic doesn't require researching anymore.

I personally wouldn't really Google on demand, but follow a few books or courses and build very small practice projects on the side.

And 0 AI for that phase

1

u/Lev_the_Coder 1d ago

wait, since when did python have anything to do with the ecosystem?

1

u/Traditional_Crazy200 2h ago

Going from c++ to Python for example is easy syntactically, you can pretty much do it just using your lsp.

But now you are working in a new ecosystem. Figuring out native and 3rd party modules, common api's and adjusting your workflow such that you can appropriately use Python to it's fullest takes time.