The folder a script is executed in

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Tue Aug 21 13:51:13 CEST 2007


Ant wrote:

> Fair point. On Win32 sys.argv[0] always seems to give the full
> path rather than the relative path 

Strange.

> - hadn't realised it was different for linux (?).

Yes, I used GNU/Linux for the example.

Regards,


Björn

-- 
BOFH excuse #148:

Insert coin for new game




More information about the Python-list mailing list