Announce: PythonLauncher v1.00 Released

Mikael Lyngvig mikael.lyngvig at toolwood.dk
Sun Aug 6 21:27:57 EDT 2000


PythonLauncher v1.00 has been released with full source code.

It can be downloaded from
http://www.toolwood.dk/freeware/PythonLauncher.

PythonLauncher.exe is a small program, which attempts to locate a
Python script named similarly to itself, then locate a Python
interpreter, and finally invoke the Python interpreter with the Python
script, and any parameters to the .exe itself, as parameters.

For instance, if you copy PythonLauncher.exe to foo.exe and run it
using "foo bar", it will attempt to locate foo.py, foo.pyc, or
foo.pyo.  If that succeeds, it will attempt to locate python.exe,
cgipython.exe, or pythonw.exe.  If that succeeds, it will invoke the
found Python interpreter with the parameters "fullpath\foo.py bar"
(where fullpath is replaced by the full path of the foo.py script).

The Python script and interpreter are searched in the following
locations:

1. The home directory of the PythonLauncher executable (the home
directory of foo.exe).

2. The directory defined by PYTHONHOME, if such an environment
variable exists.

3. The directories defined in the PATH environment variable.

Unlike batch files, PythonLauncher should work fine with redirection,
etc. (although I haven't tested this).

The license is (very) similar to that of Python itself; you can freely
modify, redistribute, whatever the program and its source code as long
as the original copyright notice is retained and you don't blame
Toolwood for any problems.


Sincerely,

Mikael Lyngvig
Toolwood




More information about the Python-list mailing list