Re: Python default search paths

2010-10-19 Thread Jed Smith
On Tue, Oct 19, 2010 at 12:35 PM, Steven D'Aprano wrote: > On Tue, 19 Oct 2010 06:25:30 -0700, swapnil wrote: >> This is useful for embedding applications where it might be desired that >> only user-defined paths are searched for modules. > > I doubt that very much. I expect that many things will

Re: Python default search paths

2010-10-19 Thread Steven D'Aprano
On Tue, 19 Oct 2010 06:25:30 -0700, swapnil wrote: > Python allows adding user defined paths to the module search path by > setting PYTHONPATH environment variable. It also allows to alter the > location of standard python libraries using PYTHONHOME. But there is no > way to "only" have user defin