r/learnpython • • Oct 23 '26

Python doesn't work in vc

I just want to

print("hello, world")

and it doesn't work

0 Upvotes

25 comments sorted by

View all comments

Show parent comment

1

u/JGhostThing Oct 23 '26

You need to be in the directory where the file hello.py is. Then "python hello" should work.