IDLE: What to use instead of sys.argv[0] ?

Svante Kleist Svante.Kleist at
Sat Aug 28 10:00:05 CEST 1999

Dear Pythoneers,

>From within a Python script executed in IDLE, how can I get
its path/file? sys.argv[0] gives me this:


Thanks for any tip.

/ Svante Kleist - NEMESIS systemDesign, Stockholm

More information about the Python-list mailing list