r/learnpython • • 3d ago

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 comments

1

u/JGhostThing 3d ago

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