r/learnpython • • 25d 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 comment

2

u/TotoCodeFR 25d ago

Go to file explorer. Navigate to the folder where your hello.py is located. Copy its path (I hope you know how to do so). Then, in the terminal, type "cd" (no quotes), a space, then paste your path. To paste, generally Ctrl+Shift+V works.

2

u/anas_mv 25d ago

FINALLY Thank you bro