[Python-Dev] __file__ is not always an absolute path

Floris Bruynooghe floris.bruynooghe at gmail.com
Mon Feb 8 14:18:46 CET 2010

On Mon, Feb 08, 2010 at 12:51:22PM +0000, Antoine Pitrou wrote:
> Do some people actually rely on the fact that changing the current directory
> will also change the import path?

On the interactive prompt, yes.  But I guess that's a habit that could
be easily un-learnt.


Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org

More information about the Python-Dev mailing list