how to get teh path of a script

Stéphane BAUSSON steff at rebecca.chermisey.fr
Thu Jun 14 16:49:58 EDT 2001


This is the good answer, thanks

> 
> os.path.normpath(os.path.dirname(os.path.abspath(sys.argv[0})))
> 
> 


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

 
 



More information about the Python-list mailing list