A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-May/044851.html below:

[Python-Dev] .pth files in current or script directory

[Python-Dev] .pth files in current or script directory [Python-Dev] .pth files in current or script directoryGuido van Rossum guido at python.org
Sun May 16 23:23:39 EDT 2004
> > Can't they manipulate sys.path *inside* the code in question?  That's
> > invariably the solution I end up using -- I never play with
> > PYTHONPATH any more.
> 
> I do this too, but I always feel that I shouldn't have to, especially
> when I'm not using `sys` for anything else. It also messes up my desire
> to keep all the imports together - the `sys` magic needs to go first.

Yet, it beats depending on environment variables, so I always end up
doing it this way.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4