name of this python program

leo leo at bella.local
Wed Mar 10 12:17:20 CET 2004


hi there

when i start a python script with 
        python myprog.py 
how can i find out the name of my script ("myprog.py") inside the script
itself. looking for something like args[0]...

cheers, leo



More information about the Python-list mailing list