__file__ is sometimes absolute, sometimes relative

Sébastien Barthélemy barthelemy at crans.org
Fri Oct 1 15:00:02 EDT 2010


Hi,

Arnaud, Christian, thank you for your help.

I'll use abspath, it's shorter.

Any idea why it's sometimes absolute, sometimes not?



More information about the Python-list mailing list