problem in appending a path to sys.path
ketulp_baroda at yahoo.com
ketulp_baroda at yahoo.com
Thu Feb 26 01:03:57 EST 2004
Peter Hansen <peter at engcorp.com> wrote in message news:<403CF96D.AE14D5CE at engcorp.com>...
> ketulp_baroda at yahoo.com wrote:
> >
> > What am I doing wrong here??
>
> As rabbits77 said, your change is not being persisted. What you
> can do instead of using PYTHONPATH, if you wish, is read the header
> comment in the file python\lib\site.py (i.e. look in your Python
> folder tree for that file) and create a ".pth" file with the appropriate
> contents. As you are on Windows, make sure you take care to create it
> with a lower-case extension, not .PTH, as site.py is case-sensitive in
> this respect.
>
> -Peter
Thanks
this is exactly what I was looking for
More information about the Python-list
mailing list