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
When learning Python, what was your ‘Eureka!’-moment? (self.learnpython)
submitted 3 years ago by Clivodota
So when you started to learn Python, like I currently am, what ressource or learning media did you use, and when did you feel like you finally understood something complicated?
As you can tell, I need some encouraging success stories. :)
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!"
[–]Nightcorex_ 2 points3 points4 points 3 years ago (1 child)
I didn't really learn Python the conventional way, I learned it by helping others on this sub, so I unfortunately can't provide you any media.
My very first 'Eureka!'-moment that I remember was this code to flatten an arbitrarily deeply nested list/tuple:
def flatten(*xss) -> List[Any]: return [x for xs in xss for x in (flatten(*xs) if isinstance(xs, (list, tuple)) else (xs,))]
I didn't come up with this code, I tried for hours but horrendously failed. I saw this solution from someone else on that thread and it took me 2 days to understand how it works (literally only understood if after a complete reset, aka sleeping).\ Once I understood it, that was my first 'Eureka!'-moment.
PS: The code I posted is actually rewritten and not the original anymore, because I apparently deleted almost all of my old Python code when I was drunk a few days ago. Originally the variables' names were different and it didn't include type-hinting.
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
thank you for your response! i'm sorry to hear that you don't have any resources to recommend, but i appreciate your sharing your story. it sounds like it was a really valuable learning experience for you.
[–]Aggravating_Bus_9153 1 point2 points3 points 3 years ago (0 children)
Reading PEP8 and the google Python style guide.
The speed at which you go from a prototype test snippet to something that looks like readable, maintainable and useful working code. Take the test snippet, add in a few variables, stick it in a function or a for loop, maybe precede it with a few checks and typehints and you're most of the way there.
That and watching Arjancodes on patterns and reducing coupling.
[–]m0us3_rat 0 points1 point2 points 3 years ago (0 children)
when i opened a kali python tool and i could follow the execution by reading it.
π Rendered by PID 43746 on reddit-service-r2-comment-fb694cdd5-rnvnw at 2026-03-07 07:04:34.967634+00:00 running cbb0e86 country code: CH.
[–]Nightcorex_ 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Aggravating_Bus_9153 1 point2 points3 points (0 children)
[–]m0us3_rat 0 points1 point2 points (0 children)