On Tue, Jul 24, 2012 at 1:38 AM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > I don't know about a bad idea or not, but it is certainly redundant, > because Python automatically adds '' (equivalent to '.') to the very > start of the search path.
No, it only does that if Python is reading commands from stdin, or if Python was run with the -c option, or maybe some other situations. It doesn't do it if you just run a program, as in "python myfile.py". -- Devin -- http://mail.python.org/mailman/listinfo/python-list