Python can't open myscript.py -


i trying run python program cmd, have run problem. when type myscript.py gives error message:

python: can't open file myscript.py:[errno 2] no such file or directory

help appreciated.

thank you

you aren't in same directory. use cd command switch directories. can type cd no arguments print present working directory. once in same directory, can run python program. alternatively, can run python full path script.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -