[Python-ideas] Fixing __file__ to be absolute

anatoly techtonik techtonik at gmail.com
Wed Jan 1 20:01:13 CET 2014


Fixing this thing will make my happy (or very sad if you'd like this).

Problem is described here:
http://stackoverflow.com/a/6416333/239247
Summary:
1.  chdir()
2.  dirname(__file__)
3.  FAIL

Proposal:
from __future__ import abs__file__

?
--
anatoly t.


More information about the Python-ideas mailing list