Why can't I run a python script from the Windows Command Prompt? -
i attempting use python script made available mrdoob's three.js; script allows me convert obj files binary code. script; convert_obj_three.py ran command line.
however, none of attempts open have worked. i've de-installed, re-installed python (yes has path access) no luck.
i bombarded syntax error message.
does know how use windows command prompt execute python files? if so, i'd appreciate guidance. i'm not asking silly questions. if so.. please link me next best answer.
you trying run command python convert_obj_three.py
in python, of course invalid python syntax.
you should run python convert_obj_three.py
straight command line, , not python shell.
open cmd in directory of .py
file , run python convert_obj_three.py arg1 arg2 ...
.
you don't have in directory of file, of course need provide full path:
python "c:\some_path\convert_obj_three.py" arg1 arg2 ...
Comments
Post a Comment