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
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
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 defined paths to python's search paths
(sys.path)
This is useful