[Python-ideas] Add a command line option to adjust sys.path? (was Re: Add a site.cfg to keep a persistent list of paths)

Scott Dial scott+python-ideas at scottdial.com
Sat Oct 23 20:56:46 CEST 2010


On 10/23/2010 2:32 PM, Ron Adam wrote:
> When you say "developers", do you mean developers of python, or
> developers with python?  I presumed the later.

I intended "developers" to mean anyone proficient with the use of python
as a tool or anyone who should be bothered to read "--help" to find out
about how to much with the path (e.g., PYTHONPATH).

> On 10/23/2010 09:21 AM, Nick Coghlan wrote:
>> The proposed command line switch would also be compatible with -E,
>> which is *not* the case for any approach based on modifying
>> PYTHONPATH.

Does anyone actually use -E? Is that a critical feature worth adding yet
another way to add something to sys.path for? I don't find "-p" to be a
confusing addition to the switch flag set, so I would say I am mostly a
-0 on adding another flag for this purpose unless it has serious
advantages over PYTHONPATH.

-- 
Scott Dial
scott at scottdial.com
scodial at cs.indiana.edu



More information about the Python-ideas mailing list