How to set program name in Python? ($0 in Perl)

Fredrik Lundh fredrik at pythonware.com
Thu Nov 10 03:43:41 EST 2005


Swaroop C H wrote:

> Thanks Fredrik for the info.
>
> It was not a must-have, I was just curious if it was possible.

it should be noted that some systems have a setproctitle() function, but the design
of that API comes with its own can of quality worms:

    http://www.cert.org/advisories/CA-2000-13.html

</F> 






More information about the Python-list mailing list