r/programmer • • 1d ago

Question Best way to learn python from zero?

1 Upvotes

23 comments sorted by

4

u/PureWasian 1d ago

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

0

u/Anasbarkaoui 1d ago

So funny 😒

1

u/PureWasian 1d 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 1d 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 1d 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 1d 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 1d ago edited 1d 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 1d 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 1d ago

Ask zero nicely.

0

u/Anasbarkaoui 1d ago

Cant stop laughing 😒

2

u/Careful_Exercise_956 1d ago

Want to work together?

1

u/Anasbarkaoui 1d ago

Yeah ofc

1

u/Careful_Exercise_956 1d ago

I'll share it with you.

2

u/Anasbarkaoui 1d ago

I would appreciate that

1

u/Careful_Exercise_956 1d ago

Okay can message me on discord: eqaso

1

u/stepback269 1d 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 1d 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 1d ago

print("Hello World")

1

u/Dependent-Back-8532 21h ago

Honestly, just start coding and learn as you go.

1

u/Lev_the_Coder 16h ago

I would recommend websites like freecodecamp and Coddy, and books like python crash course by Eric Matthes.

1

u/Lev_the_Coder 16h ago

That's what I used to learn python.

Also, just a heads up, use visual studio code (also known as vs code) to write code. I would also  recommend linking vs codd to GitHub, a platform where programers can save their code either publicly or privately.

1

u/Lev_the_Coder 16h ago

Also remember to code while you learn, that's the best way to learn any language, especially python.

1

u/conor-robertson 9h ago

You should check out QueryCase for a fun way to learn Python!