how to get teh path of a script

Stéphane BAUSSON stephane.bausson at free.fr
Wed Jun 13 16:05:29 EDT 2001


Hello

I would like to get for exemple in my_script.py located at
/home/toto/my_script.py to get in my_script.py the value "/home/toto"
...
Any hint ?

Thanks

Stephane

--
 stephane.bausson at free.fr  -  Toulouse (France)






More information about the Python-list mailing list