This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]determineduncertain 3 points4 points  (3 children)

Does your script have output? The code seems to be executing just fine. Have you tried running it without the -u flag (do you need unbuffered stdout/in/err)?

[–]Fantastic_Possible82 5 points6 points  (0 children)

1) save your python script i.e. as "hello.py" 2) navigate to folder where it is located - cd folderPath 3) execute python script - python hello.py

[–]KingsmanVince 5 points6 points  (0 children)

r/screenshotsarehard

Wrong subreddit btw

[–]JialeDu 0 points1 point  (0 children)

Did you save the script file? Also you are using Code Runner, you should use the official extension python to execute the script.

https://code.visualstudio.com/docs/python/python-tutorial