avoiding long paths to interpreter

Mathew Yeates mathew at fugue.jpl.nasa.gov
Wed Jan 8 18:04:56 EST 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