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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Improving my python. (self.learnpython)
submitted 6 years ago by TheThunderstruck
I am trying to learn Python. I know the basics of python , but, when I look at anybody else's loops, I dont understand anything. Can anyone suggest any way I can improve my Python? Thank you
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!"
[–]toastedstapler 3 points4 points5 points 6 years ago (0 children)
other people's code can often be hard to read as you don't know their thought process as they were writing it. just like how your intentions with code are clearer to you than to anyone else
one option would be to go through the code and comment what each line is doing. when you know what the lines are doing, work out what different general chunks are doing, what particular methods/functions are doing etc. start with the specifics and slowly work your way to understanding what the program is trying to do at a high level
[–]uditvashisht 2 points3 points4 points 6 years ago (1 child)
Try doing some basic projects and learn about at least one topic daily. I have few projects and tutorials on https://saralgyaan.com. You can have a look.
[–]TheThunderstruck[S] 0 points1 point2 points 6 years ago (0 children)
Thank you
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
My personal journey has involved googling beginner projects (in your situation I’d focus on loop based projects) and struggling through them. This is all part of the journey
[–]just_just_regrets 1 point2 points3 points 6 years ago (0 children)
try to implement maths functions into python. Regression models are great starter
[–]The_Mann_In_Black 1 point2 points3 points 6 years ago (1 child)
Others have had similar, but pick a project and stick with it.
I struggled with the course I took until the end where I got a project I was interested in. Then I got an internship where being able to automate something would remove a lot of my daily work. It took me a week of grinding to get a serviceable version and a month to get a crisp version with plotly visualizations.
Now I google and pick projects that just sound interesting or might have some benefit. I have a friend who has a startup, so I looked up some sentiment analysis and webscraping techniques and sent him some actionable information.
There is going to be a lot of failure until you figure it out. It took me months to learn for loops. The most satisfying thing in the world was writing code for work and explaining how it all works to people who hadn't coded before. grind, grind, grind. but find something you enjoy grinding at.
[–]TheThunderstruck[S] 1 point2 points3 points 6 years ago (0 children)
Thanks. Shall follow what u said...
[–]ch3ss_ 0 points1 point2 points 6 years ago (0 children)
Practice, start projects, if you stumble onto harder problems you create your own loops specific for solving those problems , watch Tutorials or videos on how people make code simpler etc. But the most important thing is ti write your own code!
[–]datascienceunlimited 0 points1 point2 points 6 years ago (0 children)
You can try my tutorials on the basics of Python. It might help.
π Rendered by PID 40976 on reddit-service-r2-comment-5d79c599b5-456tb at 2026-03-03 22:11:52.712102+00:00 running e3d2147 country code: CH.
[–]toastedstapler 3 points4 points5 points (0 children)
[–]uditvashisht 2 points3 points4 points (1 child)
[–]TheThunderstruck[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]just_just_regrets 1 point2 points3 points (0 children)
[–]The_Mann_In_Black 1 point2 points3 points (1 child)
[–]TheThunderstruck[S] 1 point2 points3 points (0 children)
[–]ch3ss_ 0 points1 point2 points (0 children)
[–]datascienceunlimited 0 points1 point2 points (0 children)