how to clean sys.path
Tim Roberts
timr at probo.com
Thu Jan 11 02:19:22 EST 2007
"siggi" <smusnmrNOSPAM at yahoo.com> wrote:
>
>when I do >>>sys.path in IDLE (winXP), i get a horrendously long list of
>paths, paths I may have used during a lot of trials and errors. How can I
>clean up sys.path? I mean, trim it of unnecessary paths?
What do mean by "used during a lot of trials and errors"? sys.path is
recreated from scratch every time Python starts. It doesn't accumulate
over time, other than from new packages that you install.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list