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

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

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