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
Post a Comment