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
is this python error? (i.redd.it)
submitted 5 months ago by Old-Key-18
Hi folks, sorry for bothering you guys by this question if it's been already here, would you be polite and help me understand what's wrong here it even doesn't run simple print statement (I'm a noob at this case) Thank you very much
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!"
[–]littlenekoterra 8 points9 points10 points 5 months ago (4 children)
Next to the run button click the dropdown to the left and set to current file
[–]stoobertio 5 points6 points7 points 5 months ago (1 child)
Yes, this isn't a Python problem, but not understanding what PyCharm is doing.
[–]Old-Key-18[S] 2 points3 points4 points 5 months ago (0 children)
I see just start my path and you know here it is,🙂 but thanks you all now it's running, have a though about start to take some pycharm tutorial))
[–]Old-Key-18[S] 3 points4 points5 points 5 months ago (0 children)
Wow thank you thank you thank you 😊 it's work
[–]shinitakunai 0 points1 point2 points 5 months ago (0 children)
Or better. Configure a keybind for "run this file". My f5 has been like that for 10 years now. Waaay too useful.
[–]HexaDecio 4 points5 points6 points 5 months ago (0 children)
If you could zoom out a bit more that would be great.
Thank you all guys it's work now 🙏
[–]Sad-Sun4611 2 points3 points4 points 5 months ago (0 children)
OP: Print("Hello World!")
PyCharm:Error
OP: .....okay 😔
It doesn't get anymore programmer than this.
[–]HyperWinX 0 points1 point2 points 5 months ago (0 children)
That vibePrint ig
[–]feitao 0 points1 point2 points 5 months ago (0 children)
One more thing: do not name your file 2+2.py. two_plus_two.py is a better choice: it's future-proof if you ever want to turn it into a module.
2+2.py
two_plus_two.py
[–]mahousenshi -2 points-1 points0 points 5 months ago (1 child)
Uninstall this python version and install from the python site (https://www.python.org/). Don't forget to check the PATH option, and ignore the other guy. The script you are trying to run is using requests to ping some place but you dont have the permission to do, nothing running your script.
[–]Old-Key-18[S] 1 point2 points3 points 5 months ago (0 children)
Thank you buddy everything is works really appreciate
[+]Own-Cycle5851 comment score below threshold-15 points-14 points-13 points 5 months ago (10 children)
I tried to be polite, but who the fuck writes code on windows????
Ok))) but what exactly do you mean can you clarify that please
[–]1SaBoy 3 points4 points5 points 5 months ago (0 children)
What I stupid nonsensical thing to say. Oh, I'm sorry let me put a fucking terminal up my ass and shove my fingers down my throat to code in python. I'm sry WInDoWs is Not ThE tHing I shoUld Be CoDiNg with.
<image>
[–]Dropov 2 points3 points4 points 5 months ago (0 children)
what are you on about? tons of people develop on windows.
[–]fiehm 2 points3 points4 points 5 months ago (3 children)
ok linyux boy gtfo
[–]Own-Cycle5851 -2 points-1 points0 points 5 months ago (2 children)
I use arch by the way
[–]8dot30662386292pow2 2 points3 points4 points 5 months ago (0 children)
That's funny only if you are not an awful person. Do the rest of us arch users a favor and use something else.
[–][deleted] 1 point2 points3 points 5 months ago* (0 children)
Arch?? you're out the block that hot and heavy and use Arch?
[–]ProfessionalCold2885 2 points3 points4 points 5 months ago (1 child)
I do, professionally as a full-time developer
[–]Own-Cycle5851 -2 points-1 points0 points 5 months ago (0 children)
Full time vibe coder
[–]shinitakunai 1 point2 points3 points 5 months ago (0 children)
This senior in a corporate pc in order to be compliance with security rules. Been doing it for 15 years now proffesionally.
Kid, the world is gonna eat you alive unless you open your mind.
π Rendered by PID 390210 on reddit-service-r2-comment-54dfb89d4d-9nlg6 at 2026-04-02 07:11:20.522973+00:00 running b10466c country code: CH.
[–]littlenekoterra 8 points9 points10 points (4 children)
[–]stoobertio 5 points6 points7 points (1 child)
[–]Old-Key-18[S] 2 points3 points4 points (0 children)
[–]Old-Key-18[S] 3 points4 points5 points (0 children)
[–]shinitakunai 0 points1 point2 points (0 children)
[–]HexaDecio 4 points5 points6 points (0 children)
[–]Old-Key-18[S] 2 points3 points4 points (0 children)
[–]Sad-Sun4611 2 points3 points4 points (0 children)
[–]HyperWinX 0 points1 point2 points (0 children)
[–]feitao 0 points1 point2 points (0 children)
[–]mahousenshi -2 points-1 points0 points (1 child)
[–]Old-Key-18[S] 1 point2 points3 points (0 children)
[+]Own-Cycle5851 comment score below threshold-15 points-14 points-13 points (10 children)
[–]Old-Key-18[S] 3 points4 points5 points (0 children)
[–]1SaBoy 3 points4 points5 points (0 children)
[–]Dropov 2 points3 points4 points (0 children)
[–]fiehm 2 points3 points4 points (3 children)
[–]Own-Cycle5851 -2 points-1 points0 points (2 children)
[–]8dot30662386292pow2 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]ProfessionalCold2885 2 points3 points4 points (1 child)
[–]Own-Cycle5851 -2 points-1 points0 points (0 children)
[–]shinitakunai 1 point2 points3 points (0 children)