avoiding long paths to interpreter

Mathew Yeates mathew at fugue.jpl.nasa.gov
Thu Jan 9 00:04:56 CET 2003


in TCL, there is a trick where, instead of
writing
#![long path to tcl interpreter]

you write
#!/bin/sh
.
. some magic, I don't remember what
.

Is there an equivalent in python? What is the
bast way to distibute a python script without
knowing the users path to the python executable?

Mathew





More information about the Python-list mailing list