finding real $0

Moshe Zadka moshez at math.huji.ac.il
Fri Apr 21 23:32:22 EDT 2000


On Fri, 21 Apr 2000, Robin Becker wrote:

> Is there any pythonic way to locate the original argument zero of the
> process? I mean the location of python itself not the script. This would
> allow me to launch subscripts without having to rely on the path being
> set up correctly.

No.

I could give you a dozen algorithms that half work, but that'd be wasting
your time and mine.
--
Moshe Zadka <mzadka at geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list