Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86273

Re: new.py and having '.' in PYTHONPATH

Date 2015-02-23 14:14 -0800
From Ethan Furman <ethan@stoneleaf.us>
Subject Re: new.py and having '.' in PYTHONPATH
References <mcg4e1$mcq$1@speranza.aioe.org>
Newsgroups comp.lang.python
Message-ID <mailman.19105.1424729708.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 02/23/2015 01:00 PM, Tobiah wrote:

> Anyway, it raises the question as to whether having '.' in the
> PYTHONPATH is at all a sane thing to do.

The current directory is added to sys.path /only/ for the interactive interpreter.

--
~Ethan~

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

new.py and having '.' in PYTHONPATH Tobiah <toby@tobiah.org> - 2015-02-23 13:00 -0800
  Re: new.py and having '.' in PYTHONPATH sohcahtoa82@gmail.com - 2015-02-23 14:07 -0800
  Re: new.py and having '.' in PYTHONPATH Ethan Furman <ethan@stoneleaf.us> - 2015-02-23 14:14 -0800
  Re: new.py and having '.' in PYTHONPATH Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-23 15:29 -0700

csiph-web