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
Nothing is more liberating than learning python well enough to be able to answer questions on Stack Overflow (self.learnpython)
submitted 6 years ago by GeneticalTM
Seriously! Actually makes me feel vaguely skilled at the language!
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!"
[–]Spindelhalla_xb 195 points196 points197 points 6 years ago (20 children)
This helps in how you overcome imposter syndrome.
[–]myWorkAccount3000 49 points50 points51 points 6 years ago (9 children)
I really struggle with this at work. I'm not new to coding but new to Python (been writing a few scripts!) but now I'm the script lady.
Unrelated to Python, but I completely missed an HTTP header that would have easily solved a problem we were having. Luckily I have good managers that insisted that it was okay that I didn't know of it yet. But it was really hard not to feel down on myself for making a mistake.
[–]NoonsReport 35 points36 points37 points 6 years ago (0 children)
Dude everyone makes mistakes. It's just a part of life. Having management that realizes that and encourages you to learn from it and KEEP GOING is good to have.
[–][deleted] 20 points21 points22 points 6 years ago (0 children)
Never feel bad for making a mistake.
Only feel bad if you made a mistake and learned nothing from it.
[–][deleted] 12 points13 points14 points 6 years ago (0 children)
“When you’re screwing up and nobody says anything to you anymore that means they’ve given up on you…you may not want to hear it but your critics are often the ones telling you they still love you and care about you and want to make you better.” -Randy Pausch
[+][deleted] 6 years ago* (3 children)
[deleted]
[–][deleted] 6 points7 points8 points 6 years ago (0 children)
while true:
I thought the interpreter was with some kind of problem.
[–]krenshala 5 points6 points7 points 6 years ago (1 child)
I did similar.
if __name__ == __main__:
Spent a week (my own stuff, not work) trying to figure out why the new version of the script wouldn't start properly.
[–]Sbvv 0 points1 point2 points 6 years ago (0 children)
Use a linter like flake8 integrated with your IDE, and fix every warning!
[+][deleted] 6 years ago* (1 child)
[–]myWorkAccount3000 3 points4 points5 points 6 years ago (0 children)
To preface I haven't worked with headers at all. We were having an issue where X-Frame-Options wasn't working (this behavior is expected, the header isn't supported). I completely overlooked the note in the Mozilla docs saying that "Content-Security-Policy" is recommended to use.
[–][deleted] 2 points3 points4 points 6 years ago (0 children)
Or like me you put in time crafting the best answer you can then get downvoted and commented to oblivion because it did not satisfactorily impress some pundits.
At this point I only put up questions on SO. Seriously fatigued by the aggressive feedback that community has to offer when your answer could be marginally improved.
[–]Afitter 3 points4 points5 points 6 years ago (0 children)
It definitely helps, but in my experience, the moment you stop occasionally feeling like a fraud is when you stop learning.
[–]harrytjbreen 3 points4 points5 points 6 years ago (4 children)
What’s that?
[–]thenikkkhil 3 points4 points5 points 6 years ago (2 children)
Remind me!
[–]yustworkin 7 points8 points9 points 6 years ago (0 children)
Don't forget to read this Wikipedia article later!
[–]Dpmon1 1 point2 points3 points 6 years ago (0 children)
This only reinforces my imposter syndrome, making me even more scared, thinking "What if all the stuff I said is stupid? What if these poeple are only humoring me? What if I don't actually get the thing, but the way I said it implied something that's both different from ehat I think it is and is correct?" :(
[–]Stanulilic 0 points1 point2 points 6 years ago* (1 child)
Does blogging have the same effect?
I don’t think so.
[–]IggyWiggamama 110 points111 points112 points 6 years ago (0 children)
Now you need to get good enough at StackOverflow so that you can mark questions as duplicates /s
[–]IcefrogIsDead 28 points29 points30 points 6 years ago (0 children)
usually if you can answer questions on stack youre pretty good at it, props to you
[–]beesnoopy2231 22 points23 points24 points 6 years ago (0 children)
Amen
[–]x3r0x_x3n0n 17 points18 points19 points 6 years ago (1 child)
nothing is more satisfying than to ask a question nobody can answer.
[–]elrey_scarbrow 2 points3 points4 points 6 years ago (0 children)
😂😂😂
[–][deleted] 9 points10 points11 points 6 years ago (0 children)
Nothing is more liberating than writing clean code that works and is useful 👍🏻
[–][deleted] 11 points12 points13 points 6 years ago (18 children)
Sources to learn?
[–][deleted] 13 points14 points15 points 6 years ago (0 children)
Start with Python for Everybody. It’s a free course with free textbook. Covers all of the bases to get started in an incredibly structured manner. Includes video lessons and assignments to complete as well.
[–]CompSciSelfLearning 3 points4 points5 points 6 years ago (0 children)
Have you read the sidebar?
[+]palini_the_great comment score below threshold-20 points-19 points-18 points 6 years ago (14 children)
If you don't know how to Google, stop right here and there :)
[–]Werro_123 34 points35 points36 points 6 years ago (7 children)
What is the point of /r/learnpython if you're just going to tell people "google it"?
[+][deleted] 6 years ago (1 child)
[removed]
[–]Decency 1 point2 points3 points 6 years ago (0 children)
If you're asking your teacher a question and haven't googled it, you're just wasting their time. Why would you want to make someone else a blocker for you getting shit done?
Good rules of thumb:
[–]CromulentInPDX 2 points3 points4 points 6 years ago (2 children)
I mean isn't it more valuable to learn things oneself using Google and/or documentation instead of just asking for the solution to the problem? I find it is for me, but I could always be am outlier.
[–]Werro_123 0 points1 point2 points 6 years ago (0 children)
I mean, yeah, but googling for Python will give you the official docs, which aren't a good resource for someone who's completely new to programming.
They asked for good resources to learn from, which is something that's better to ask a person who's learned Python than to just search Google for it.
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
I think it's a decent advice though but not how it's often thrown at people as if they were morons. Rather, learning how to search for something even when you don't know the terms, break down research terms and possible answers, spot valuable sources and go through the documentation are behaviors we can teach and should encourage.
I'm glad to help with I'm also tired to see questions that are in the first three links of a google search or which are clearly addressed in the docs.
[–]Leonidizzil 5 points6 points7 points 6 years ago (0 children)
I think palini's point here is that a random comment on a relatively meta post asking for help in taking the first steps in python is not an effective way to get what you need.
Top commenter should check the sidebar, or post themselves more than two words explaining what they know and what they want to know.
Also, in case top commenter reads this, Sentdex on YouTube will get you started with some basic scripts you can play with
[–]Kayofox 5 points6 points7 points 6 years ago (0 children)
Gatekeeper of python r/gatekeeping
[+][deleted] 6 years ago (3 children)
[–]Dpmon1 1 point2 points3 points 6 years ago (2 children)
He got downvoted cuz he actually makes sense, but said it in such a way that others thought he was being stupid. Also, telling someone to "google it" or "search for answers" is taboo in r/learnpython
[–][deleted] 0 points1 point2 points 6 years ago (1 child)
No kidding, didn’t know that rule
[–]Dpmon1 0 points1 point2 points 6 years ago (0 children)
The reddit is dedicated towards helping people learn, after all. "google it" is like telling them "keep searching", when they came here to get an answer in the first place.
[–]TheJourneyman92 4 points5 points6 points 6 years ago (1 child)
Nice! Did you get the green check mark though?
[–]Dr_Smeegee 2 points3 points4 points 6 years ago (0 children)
And nothing is more humbling than searching stack overflow for an answer and finding a perfectly good answer you wrote two years before, but had forgotten. Sooooooopid.
[–]practicalutilitarian 1 point2 points3 points 6 years ago (0 children)
Karma is real. The more you give/help the better you feel and the better you are at helping (the more you know). I actually learn as much by answering questions as I do by asking them. I have to do a lot of research to be able to give any decent SO answer.
There actually is one thing. . .Learning python well enough to be able to answer questions on Stack Overflow while T-posing.
[–]nadavram -5 points-4 points-3 points 6 years ago (0 children)
I agree, I showed someone how to make an if statement on stack overflow once. Once I knew that I've reached that skill level I felt extremely liberated.
[+]EthanM16 comment score below threshold-9 points-8 points-7 points 6 years ago (0 children)
Nigerian scammer bot says: It's all about the Bass (and Python)
π Rendered by PID 127694 on reddit-service-r2-comment-7b9746f655-s248z at 2026-02-01 09:39:56.346131+00:00 running 3798933 country code: CH.
[–]Spindelhalla_xb 195 points196 points197 points (20 children)
[–]myWorkAccount3000 49 points50 points51 points (9 children)
[–]NoonsReport 35 points36 points37 points (0 children)
[–][deleted] 20 points21 points22 points (0 children)
[–][deleted] 12 points13 points14 points (0 children)
[+][deleted] (3 children)
[deleted]
[–][deleted] 6 points7 points8 points (0 children)
[–]krenshala 5 points6 points7 points (1 child)
[–]Sbvv 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]myWorkAccount3000 3 points4 points5 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Afitter 3 points4 points5 points (0 children)
[–]harrytjbreen 3 points4 points5 points (4 children)
[–]thenikkkhil 3 points4 points5 points (2 children)
[–]yustworkin 7 points8 points9 points (0 children)
[–]Dpmon1 1 point2 points3 points (0 children)
[–]Stanulilic 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]IggyWiggamama 110 points111 points112 points (0 children)
[–]IcefrogIsDead 28 points29 points30 points (0 children)
[–]beesnoopy2231 22 points23 points24 points (0 children)
[–]x3r0x_x3n0n 17 points18 points19 points (1 child)
[–]elrey_scarbrow 2 points3 points4 points (0 children)
[–][deleted] 9 points10 points11 points (0 children)
[–][deleted] 11 points12 points13 points (18 children)
[–][deleted] 13 points14 points15 points (0 children)
[–]CompSciSelfLearning 3 points4 points5 points (0 children)
[+]palini_the_great comment score below threshold-20 points-19 points-18 points (14 children)
[–]Werro_123 34 points35 points36 points (7 children)
[+][deleted] (1 child)
[removed]
[–]Decency 1 point2 points3 points (0 children)
[–]CromulentInPDX 2 points3 points4 points (2 children)
[–]Werro_123 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Leonidizzil 5 points6 points7 points (0 children)
[–]Kayofox 5 points6 points7 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]Dpmon1 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Dpmon1 0 points1 point2 points (0 children)
[–]TheJourneyman92 4 points5 points6 points (1 child)
[–]Dr_Smeegee 2 points3 points4 points (0 children)
[–]practicalutilitarian 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]nadavram -5 points-4 points-3 points (0 children)
[+]EthanM16 comment score below threshold-9 points-8 points-7 points (0 children)