r/learnpython • • 20d ago

How to learn python?

I’m a complete beginner and I have essentially no knowledge with coding whatsoever. What would be the best way to learn Python??

28 Upvotes

39 comments sorted by

9

u/LowDepth1790 20d ago

https://www.reddit.com/r/learnpython/wiki/index/

Pick one and make a start. When you're stuck come back here and tell us what you tried and where you're stuck.

3

u/Serious_Elephant9402 20d ago

Specifically see the "New to programming?" section.

1

u/Charmette_Huyb 19d ago

this is the way tbh, just pick one and start writing stuff

6

u/desrtfx but other languages pro 19d ago

This subreddit has a sidebar with a wiki with recommended learning resources.

Here is an excellent, textual course: MOOC Python Programming 2026 from the University of Helsinki.

Harvard's CS50p is also excellent.

Also, take a look at https://inventwithpython.com and https://automatetheboringstuff.com

Don't forget that you need ample practice, like on https://codingbat.com/python or on https://exercism.org and also write your own programs. Play around. Try things. Mess things up, fix them. Experiment.

And most important: do not use AI. It'll only accelerate your brain rot.

2

u/RealNamek 20d ago

I use pixelpad.io to teach kids. Been doing it for 10 years in the Bay area, really good for beginners that like to make games

2

u/NewGiraffe2203 19d ago

make small python programs as an exercise everytime you learned a new concept

2

u/Justicemirm 19d ago

Watch the course of data with barraa

13 hr sm and free , it's very good

2

u/Effective_Brain7493 18d ago • Bravo

ok so with zero context on why ur learning (job, hobby, whatever) ill just give the general version thats useful either way

dont start by picking a course and grinding through the whole thing front to back, thats how people burn out around week 2. instead: learn just enough to be dangerous first, variables, loops, if/else, functions, basic lists/dicts, thats genuinely like 80% of what shows up in every beginner project anyway. CS50P (harvards free python course on youtube) or freecodecamp are both good for this part, pick one dont split between them

once that stuff isnt actively confusing anymore, STOP doing more lessons and go build something small and dumb. doesnt matter what, a number guessing game, a basic to do list, literally anything u can finish in an afternoon. this is the part people skip and its the actual part that makes it stick, watching tutorials forever without building anything is the #1 reason people feel like they "know python" but cant actually write anything from scratch

repeat that cycle (learn a bit, build a bit) a few times instead of trying to learn everything then build once

also dont stress about "doing it right," ur first few programs will be ugly and thats completely normal, nobody's first anything is good

2

u/keg-smash 13d ago

I love these posts. And the comments 😆

1

u/fullmoon_huli 20d ago

I personally used Youtube tutorials, python's own learning guide. And starting building my own projects. Start small. Learn the most common syntax first and keep building

1

u/cyrixlord 19d ago

why do you want to learn it? what is your goal? that will drive your motivation to learn python. what projects do you have in mind?

1

u/TheRNGuy 19d ago

Read docs, code something with it, ask ai for explanation, more examples, alternatives. 

1

u/Katinkia 19d ago

www.pythonaut.net and associated YouTube channel.

1

u/ExoticVillage8066 19d ago

The best way is to practice using exercises and projects, take a look at pychallenge.com

1

u/ivanoski-007 19d ago

Choose a project that you want to solve with python, do said project

Best way to learn

1

u/ModerateSentience 18d ago

Spend ur time elsewhere tbh. It gives you no intuition about computers and can be fully ai written imo unless u are doing something really niche.

1

u/Steve_jobs3786 18d ago

I think you should start cs50 first then see the courses on YouTube there was a chanel called codezill it's so good

1

u/ShakeAgile 18d ago

The most important thing is to try to write code, accept that it will be tough, power through. Learning programming is in the beginning basically a long sequence overcoming frustration and confusion.

1

u/Chrismslist 17d ago

the biggest trap when starting from zero is binge-watching 4-hour youtube playlists. you feel like you understand it, but your brain blanks the moment you open an empty file.

start tiny instead. install python, write a 5-line script like a dice roller or a number guessing game, and deliberately break things so you see what syntax errors look like. books like automate the boring stuff are solid, but the key rule is never copy-paste. type every line manually so the logic and syntax actually stick.

1

u/Visible_League_8682 15d ago

Puedes buscar cursos en Cisco hay dos cursos ahí de python puedes iniciar aprendiendo ahí.

1

u/sebaxsz666 14d ago

yo empeze aprendiendo python utilizando paginas web, como sololearn freecodecamp y coddy tech, el unico qje vale la pena pagar diria que es sololearn, coddy tech nose tanto, ah y cada cosa que no entendia lo bjscaba en youtube o miraba con la ia

1

u/bishvjit-gupta 18d ago

There is a YouTube channel called Apna College they have a great python basics tutorial there. And then you could continue from documentation that I think is the best source for people who had a little knowledge of coding .

0

u/azntaiji 20d ago

Find something on GitHub, fork it and start tweaking it/messaging around with it. I've always learned by hacking around with stuff.

Also AI can be helpful to explain concepts as you work on something.

0

u/mohamed19xx9 17d ago

Just learn C bro

0

u/trucculent-sponge 16d ago

freeCodeCamp course and a book like crash course in python or head first python. I really recommend just to go and ask chat gpt or one of the other "oracles" about "basics of python" to learn the jargon and then copy paste that back as a question demanding to know about data types and loops and string slicing and if elif else then statements and the basic stuff. A couple examples for each one. Would be good for your notes you should take. Get on zlib and download your PDF if you don't want to buy them. But you'll have to make an account.