finding real $0

Robin Becker robin at jessikat.demon.co.uk
Fri Apr 21 07:15:27 EDT 2000


In article <qlWL4.1038$v85.6158 at news-server.bigpond.net.au>, Mark
Hammond <mhammond at skippinet.com.au> writes
>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
>
>
yes I'm just stupid.
-- 
Robin Becker



More information about the Python-list mailing list