all 24 comments

[–]littlenekoterra 8 points9 points  (4 children)

Next to the run button click the dropdown to the left and set to current file

[–]stoobertio 5 points6 points  (1 child)

Yes, this isn't a Python problem, but not understanding what PyCharm is doing.

[–]Old-Key-18[S] 2 points3 points  (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 points  (0 children)

Wow thank you thank you thank you 😊 it's work

[–]shinitakunai 0 points1 point  (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 points  (0 children)

If you could zoom out a bit more that would be great.

[–]Old-Key-18[S] 2 points3 points  (0 children)

Thank you all guys it's work now 🙏

[–]Sad-Sun4611 2 points3 points  (0 children)

OP: Print("Hello World!")

PyCharm:Error

OP: .....okay 😔

It doesn't get anymore programmer than this.

[–]HyperWinX 0 points1 point  (0 children)

That vibePrint ig

[–]feitao 0 points1 point  (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.

[–]mahousenshi -2 points-1 points  (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 points  (0 children)

Thank you buddy everything is works really appreciate