finding real $0

Mark Hammond mhammond at skippinet.com.au
Fri Apr 21 06:47:50 EDT 2000


Isnt sys.executable what you are after?

Mark.

"Robin Becker" <robin at jessikat.demon.co.uk> wrote in message
news:OWeCyjAOWCA5Ew86 at jessikat.demon.co.uk...
> 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.
> --
> Robin Becker





More information about the Python-list mailing list