Quote:
Originally Posted by JSWolf
To run a Python script under Windows....
1. go to http://www.python.org
2. download and install the latest version of Python
3. open a command prompt
4. scriptname.py options
5. done
|
FYI: To do step 4 you would need to be in the directory where the python script is. Also, if a filename happens to be one or more of the options and the file isn't in the current directory you would have to pass in the path to it. The path could be relative or full. If any of your parameters/options has a space in it you need to surround it with quotes. Which is why i try to avoid putting spaces in what I consider a work folder.
One thing that would make this easier is to put the folder that the python script is in into your path. This could eliminate typing in paths... either a path to the script or a path to an option.
BOb