adding new paths to sys.path
jbperez808 at yahoo.com
Fri Mar 7 05:57:07 CET 2003
Under Slackware Linux, I've installed Python
modules in /usr/local/lib/python2.2/site-packages
instead of /usr/lib/python2.2/site-packages and
now Python can't find the newer modules.
In the interactive command line, I can always
add this new directory to sys.path, however,
that won't do for scripts run from the command
What do I change to get these new package paths
added to the default paths searched by Python
when running a script?
More information about the Python-list