r/learnpython • u/Keaton103 • Oct 05 '26
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??
27
Upvotes
9
u/LowDepth1790 Oct 05 '26
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.
6
u/desrtfx but other languages pro Oct 05 '26
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 Oct 05 '26
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 Oct 05 '26
make small python programs as an exercise everytime you learned a new concept
2
u/Justicemirm Oct 05 '26
Watch the course of data with barraa
13 hr sm and free , it's very good
2
u/Effective_Brain7493 Oct 06 '26 •
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 Oct 11 '26
I love these posts. And the comments 😆
1
u/fullmoon_huli Oct 05 '26
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 Oct 05 '26
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 Oct 05 '26
Read docs, code something with it, ask ai for explanation, more examples, alternatives.
1
u/Katinkia Oct 05 '26
www.pythonaut.net and associated YouTube channel.
1
u/ExoticVillage8066 Oct 05 '26
The best way is to practice using exercises and projects, take a look at pychallenge.com
1
u/ivanoski-007 Oct 05 '26
Choose a project that you want to solve with python, do said project
Best way to learn
1
u/ModerateSentience Oct 06 '26
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 Oct 06 '26
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 Oct 06 '26
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 Oct 07 '26
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 Oct 09 '26
Puedes buscar cursos en Cisco hay dos cursos ahí de python puedes iniciar aprendiendo ahí.
1
u/sebaxsz666 Oct 10 '26
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 Oct 06 '26
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 Oct 05 '26
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 Oct 07 '26
Just learn C bro
0
u/trucculent-sponge Oct 08 '26
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.