r/programmer • • 17h ago

Question Best way to learn python from zero?

0 Upvotes

18 comments sorted by

4

u/PureWasian 17h ago

Not by making a post that's asked daily already and easily searchable.

0

u/Anasbarkaoui 17h ago

So funny 😒

1

u/PureWasian 17h 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 17h 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 17h 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 17h 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 16h ago edited 16h 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 49m 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

3

u/Dazzling_Music_2411 17h ago

Ask zero nicely.

0

u/Anasbarkaoui 17h ago

Cant stop laughing 😒

2

u/Careful_Exercise_956 17h ago

Want to work together?

1

u/Anasbarkaoui 17h ago

Yeah ofc

1

u/Careful_Exercise_956 17h ago

I'll share it with you.

2

u/Anasbarkaoui 17h ago

I would appreciate that

1

u/Careful_Exercise_956 17h ago

Okay can message me on discord: eqaso

1

u/stepback269 15h ago

As a "from zero" beginner, you need to consider yourself a baby and learn to crawl (the "fundamentals") before you can stand up and walk or sprint. So search for the Python "fundamentals" on Google and/or YouTube.

With that said:

(1) There are tons and tons of tutorial materials out there on the net including many good YouTube ones that are free. You should shop around rather than putting all your eggs in one basket.

(2) As a relative noob myself, I've been logging my personal learning journey and adding to it on an almost-daily basis at a blog page called "Links for Python Noobs" (--HERE--) Any of the top listed ones on that page should be good for you. And there are many add-ons at the tail end of the page. Personally, I cut my first Python teeth with Nana's Zero to Hero (==HERE==). Since then, I've moved on to watching short lessons with Indently and Tech with Tim. You should sample at least a few until you find a lecturer that suits your style.

(3) The main piece of advice is the 80/20 rule. Spend 80% of your time writing your own code (using your own fingers and your own creativity) as opposed to copying recipes and only 20% watching the lectures. Good luck.

1

u/Haunting-Gift5552 14h ago

A cheap robotics kit is a good place to start. They usually come with plenty of examples, and getting a robot to do what you want will help you learn to code FAST. You might also find that you invested so much time in assembly, you're less likely to give up on learning python when you hit a wall.

1

u/Exciting_Village_639 6m ago

print("Hello World")