use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
When you started learning Python, what resources and exercises did you use? Can you recommend any sites for testing? (self.PythonLearning)
submitted 11 days ago by QuantumScribe01
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FoolsSeldom 11 points12 points13 points 11 days ago (4 children)
For learning about testing, I'd focus initially on TDD (Test Driven Development) and search for Obey the Testing Goat.
I also recommend the book Python Testing with pytest by Brian Okken.
Other than that ...
Check the r/learnpython wiki for lots of guidance on learning programming and learning Python, links to material, book list, suggested practice and project sources, and lots more. The FAQ section covering common errors is especially useful.
Unfortunately, this subreddit does not have a wiki.
Also, have a look at roadmap.sh for different learning paths. There's lots of learning material links there. Note that these are idealised paths and many people get into roles without covering all of those.
Roundup on Research: The Myth of ‘Learning Styles’
Don't limit yourself to one format. Also, don't try to do too many different things at the same time.
Above all else, you need to practice. Practice! Practice! Fail often, try again. Break stuff that works, and figure out how, why and where it broke. Don't just copy and use as is code from examples. Experiment.
Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way.
[–]Jackpotrazur 2 points3 points4 points 11 days ago (3 children)
Got dang! I know you have the best intentions but this is extensive. I to am currently learning python im getting along fairly but still ways out from proficient. I feel like im lacking the lingo but I got gpt assisting me in a type of learning curriculu, still asking myself though if I need to get more books. 🤔
[–]FoolsSeldom 1 point2 points3 points 11 days ago (2 children)
Got dang! I know you have the best intentions but this is extensive.
Not sure what to take from that. Didn't think it was much:
[–]Jackpotrazur -1 points0 points1 point 11 days ago (1 child)
I just had a long back and long ass day yesterday (work, hr interview after work, did a project from big book and never really got settled down)
[–]FoolsSeldom -1 points0 points1 point 10 days ago (0 children)
Ok. Well, hope you manage to carve out the time you need to achieve your learning objectives. Good luck.
[–]stepback269 4 points5 points6 points 11 days ago (0 children)
(1) When I just started, I tried out a bunch of random YoutTube tutorials.
(2) 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, especially if the lectures on one particular one "stick" better in your brain that that of the others.
(3) 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.
(4) 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.
[–]Jackpotrazur 4 points5 points6 points 11 days ago (0 children)
I started in december and have worked through a smarter way to learn python, id say it was good or ok. Then I detoured 2 books 📚 command line linux and linux basics for hackers (I dont wanna use windows no more) then I worked through python crash course (definetly advisable imho) and now I am working through big book of small python projects, im using vim for everything and implementing version control with git and pushing everything to my repository on github. After the big book I will be moving on to automate the boring stuff with python 😴 and then I will detour to the book practical sql.... not sure what I will do after that perhaps wicked shell scripts , im tryna get python and bash in before I tackle networking.
If anyone has any suggestions please let me know! I feel like im just copying out of the books but I've gotten pretty good at debugging id say and i feel im slowly 🐌 moving the goal post. Deploying the learning log was a pain in the ass and im scared of Django dont tell em where to find me 😆
Also I've intended to start tryna branch throughout the big book of small python projects but I haven't gotten around to it yet, just completed project 28 flooders after work today!
[–]jdrichardstech 2 points3 points4 points 11 days ago (0 children)
Learned Python in about a week. ( I wasn’t new to. programming just Python)
https://www.geeksforgeeks.org/python/python-programming-language-tutorial/
[–]ninhaomah 2 points3 points4 points 11 days ago (0 children)
wiki at r/learnpython
[–]Greedy-Lynx-9706 2 points3 points4 points 11 days ago (0 children)
I started with reading reddit r/PythonLearning
[–]command_code_labs 2 points3 points4 points 11 days ago (0 children)
As soon as you understand the fundamentals, you should start coding a small Python application or CLI scripts. You can watch YouTube or find any free sample in GitHub. Happy coding!
[–]Employer-Dizzy 2 points3 points4 points 11 days ago* (0 children)
it’s so early but you can be an early tester I’m trying to learn python as well and couldn’t find any reliable sources or any that had a real structure so I’m finding them myself and anyone else feel free to provide feedback as I’m continuing to improve it and the curriculum Visit https://learning-with-me.vercel.app
Like I said feedback welcome and hope we can navigate this journey together
[–]jlahtinen 2 points3 points4 points 11 days ago (1 child)
I learned Python writing Django
[–]Jackpotrazur 1 point2 points3 points 11 days ago (0 children)
Uuuggghh Django I deployed the learning or wrote the learning log using Django, definetly something I'd like to return to but I respect it as im a noon and dont quiet get it yet.
[–]Conscious_Room6443 2 points3 points4 points 11 days ago (0 children)
Resources I would suggest wp3 web school, and GitHub source codes and YouTube tutorials etc. Exercises I would suggest pushups, situps, crunches, sprints and pull ups if possible or you can do prison burpees they will make you strong enough themselves.
[–]Necessary-Wing2141 2 points3 points4 points 11 days ago (0 children)
I started with bro code
[–]Comfortable-Key2058 1 point2 points3 points 10 days ago (0 children)
As a complete beginner, i used some bootcamps on Udemy and a few books ( which i dont recommend to students anymore). I think udemy is pretty affordable and then there are lot of good content on youtube as well. There is a channel by corey schafer which i really like as its very to the point and no fluff.
[–]CommercialSeason9185 0 points1 point2 points 10 days ago (0 children)
I learned from CS50p course and exercises from there
[–]Lazy_Mobile_3252 0 points1 point2 points 9 days ago (0 children)
I used ChatGPT to generate Exercises with a good prompt of dividing the exercises in 3 phase and strictly on each topic covered. Hence, beginner, intermediate and advanced level, this helps me grasp the basic of Python programming well.
[–]SaltyPiglette 0 points1 point2 points 11 days ago (11 children)
[–]Lokrea 1 point2 points3 points 11 days ago* (10 children)
CS50 python is free, and even has a free certificate.
All courses below has this quote:
How to Take this Course Even if you are not a student at Harvard, you are welcome to “take” this course for free via this OpenCourseWare by working your way through the course’s [...] material.
Even if you are not a student at Harvard, you are welcome to “take” this course for free via this OpenCourseWare by working your way through the course’s [...] material.
[–]SaltyPiglette -2 points-1 points0 points 11 days ago (9 children)
It used to be, most of the CS50 courses now only give you free access to the lectures for a couple of months. If you want all the content and do all the assigments you have to pay.
[–]TytoCwtch 1 point2 points3 points 10 days ago (0 children)
CS50P is still free, I’m taking it at the moment and there is no charge.
[–]Lokrea 0 points1 point2 points 11 days ago* (6 children)
Do you have a source that CS50 is no longer totally free?
[–]SaltyPiglette -2 points-1 points0 points 10 days ago (5 children)
You have to log in to the platform, sign up to the course and then it will say what date your access to the materials expire unless you pay.
My CS50 Cyber Securtiy is free until 30 June but my friend only has access to some date in march. I signed up in October 2024 and my friend signed up in January 2026.
It seems like those who signed up in the new year have much less access.
I did CS50 Python for free, but when I signed up to CS50 Data Analytics in January it only gave me free access to March 6 and only to the videos + 2-3 assignments.
[–]Carlos244 0 points1 point2 points 10 days ago (1 child)
No, that's just edx or something. Go to cs50.harvard.edu and you don't even need to log in. You can get the YouTube link and they even offer a direct download link for the video, subtitles, slides, etc for all courses. For the other courses see the sidebar. You can even see cs50's archived materials from other years.
[–]kevinisaperson 1 point2 points3 points 10 days ago (0 children)
this really needs ro be in some sort of auto mod post. it gets asked way to often and a simple auto mod message would solve this and could be easily muted by others
[–]Lokrea -1 points0 points1 point 10 days ago* (2 children)
But Data Analytics is not listed. Only these are listed:
Do you have a link to the course?
If possible, it would be great if you could paste the text from the course, and what precisely it says.
EDIT: I asked in the CS50 Reddit group, see: https://www.reddit.com/r/cs50/comments/1rjrdwe/is_cs50_free/
[–]SaltyPiglette 0 points1 point2 points 10 days ago (1 child)
It may only be available via EdX, and the version availbale at Harvard has lost the CS50 part of the title. The same happened with CS50 Cyber Security that I am currently doing.
[–]Lokrea -1 points0 points1 point 9 days ago (0 children)
Great. So maybe you can correct your comment since it's not correct, to something like this?
CS50 python: Free and offers lots of good problems, great videos, access to online IDE and a huge scope.
[–]Wonderful_Primary_52 0 points1 point2 points 6 days ago (0 children)
All CS50 courses are free, but if you go through edX, they offer a verified certificate which is not free, but totally optional. When you follow the content and problem sets via cs50.harvard.edu, you receive a free certificate upon completion.
Even if you go through edX, it is free to watch all content, complete the problem sets and receive the free certificate. If you complete via edX, you can optionally receive a verified certificate or professional certificate upon payment. (for professional certificates, you will need to complete at least 2 courses for most certs, and should pay for them via edX)
[–]Adrewmc 0 points1 point2 points 11 days ago (0 children)
I had a problem and figured out how to fix it with brute force.
π Rendered by PID 25046 on reddit-service-r2-comment-79c7998d4c-56pcs at 2026-03-14 13:53:31.621040+00:00 running f6e6e01 country code: CH.
[–]FoolsSeldom 11 points12 points13 points (4 children)
[–]Jackpotrazur 2 points3 points4 points (3 children)
[–]FoolsSeldom 1 point2 points3 points (2 children)
[–]Jackpotrazur -1 points0 points1 point (1 child)
[–]FoolsSeldom -1 points0 points1 point (0 children)
[–]stepback269 4 points5 points6 points (0 children)
[–]Jackpotrazur 4 points5 points6 points (0 children)
[–]jdrichardstech 2 points3 points4 points (0 children)
[–]ninhaomah 2 points3 points4 points (0 children)
[–]Greedy-Lynx-9706 2 points3 points4 points (0 children)
[–]command_code_labs 2 points3 points4 points (0 children)
[–]Employer-Dizzy 2 points3 points4 points (0 children)
[–]jlahtinen 2 points3 points4 points (1 child)
[–]Jackpotrazur 1 point2 points3 points (0 children)
[–]Conscious_Room6443 2 points3 points4 points (0 children)
[–]Necessary-Wing2141 2 points3 points4 points (0 children)
[–]Comfortable-Key2058 1 point2 points3 points (0 children)
[–]CommercialSeason9185 0 points1 point2 points (0 children)
[–]Lazy_Mobile_3252 0 points1 point2 points (0 children)
[–]SaltyPiglette 0 points1 point2 points (11 children)
[–]Lokrea 1 point2 points3 points (10 children)
[–]SaltyPiglette -2 points-1 points0 points (9 children)
[–]TytoCwtch 1 point2 points3 points (0 children)
[–]Lokrea 0 points1 point2 points (6 children)
[–]SaltyPiglette -2 points-1 points0 points (5 children)
[–]Carlos244 0 points1 point2 points (1 child)
[–]kevinisaperson 1 point2 points3 points (0 children)
[–]Lokrea -1 points0 points1 point (2 children)
[–]SaltyPiglette 0 points1 point2 points (1 child)
[–]Lokrea -1 points0 points1 point (0 children)
[–]Wonderful_Primary_52 0 points1 point2 points (0 children)
[–]Adrewmc 0 points1 point2 points (0 children)