How to run installed python script?
If you use ActivePython, it will already add the
C:\PythonXY\Scripts
directory to your%PATH%
(ActivePython 2.6 additionally adds PEP 370's%APPDATA%\Python\Scripts
to%PATH%
) during the installation.For deploying scripts on Windows machine, better use Distribute which will take care of installing .exe wrappers for your scripts and invoking the actual Python with which your package was installed (to avoid conflict with multiple Python installations -- so naming your script to end .py is just not enough). For more on this topic, read about entry points in Distribute documentation.