Re: Where does sys.path get initialized
by Scott David Daniels other posts by this author
Sep 22 2003 2:07PM messages near this date
Where does sys.path get initialized
|
Re: Where does sys.path get initialized
mmoum[no-spam-please] wrote:
> Hi,
>
> Can anyone tell me where sys.path gets initialized? I know that I can
> import sys and then execute sys.path.append(pathname), but I'd prefer
> not to have to do that everytime I use PythonWin or Idle. I'm using
> Python on both Linux and Windows XP, and I suspect the process is
> different for each.
>
> Thanks in advance,
> Mike
>
Consider placing a ".pth" file in your python directory.
This should solve your problems in an easily reversible way.
--
http://mail.python.org/mailman/listinfo/python-list
Thread:
mmoum[no-spam-please]
Scott David Daniels
Jeff Epler
|