Creating Python "executables" on Windows?

Daniel Dittmar daniel.dittmar at sap.com
Tue Aug 8 10:09:35 EDT 2000


- if you're using the DOS prompt, you can set the environment variable
PATHEXT to include .py. If Python is properly installed (the command 'assoc
.py' prints '.py=Python.File'), python scripts can now be placed in your
path and will be found. Note that redirection does not work in this case due
to a bug in the DOS prompt.

- as mentioned yesterday, PythonLauncher
(http://www.toolwood.dk/freeware/PythonLauncher/) tries to solve part of the
problem.

>From the docs: To use PythonLauncher to start a script named 'foo.py', make
a copy of PythonLauncher named 'foo.exe' and place it somewhere in the path.

Daniel








More information about the Python-list mailing list