cant run python script

when i try to run a python script in the command prompt such as

ppython game.py

an error saying “ppython: can’t open file ‘game.py’: [Erno] no such file or directory.”

i think it says erno, it probably says error but i dont know.

but i can run the program when i open pype up and go to file>run current file

does anybody know whats wrong?

Does game.py exist? Did you “cd” to the directory where game.py is first, before running that command?

If you don’t know how, this page might be helpful:
panda3d.org/manual/index.php/Using … ur_Program

thank you i fixed it :slight_smile: it was directed at my users folder insted of my scripts folder