python package confusion

Devin Jeanpierre jeanpierreda at
Tue Jul 24 09:49:31 CEST 2012

On Tue, Jul 24, 2012 at 1:38 AM, Steven D'Aprano
<steve+comp.lang.python at> 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".

-- Devin

More information about the Python-list mailing list