On Sat, Feb 28, 2015 at 11:26 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote:
> > Fixed - > > http://stackoverflow.com/questions/7116889/python-file-attribute-absolute-or-relative > > apparently __file__ may or may not be absolute - must be almost always > absolute, or this would have been reported long ago, but almost always > is only almost :-} > ​Thanks Terry. From the SO answer it appears that this mess is the result of not wanting to call getpwd() on every import. Sounds reasonable, but the result is a mess. Not Pythonic, imo. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.