how can I change sys.path permanently

Ignacio Vazquez-Abrams ignacio at openservices.net
Sat Sep 8 22:41:00 EDT 2001


On Sun, 9 Sep 2001, sdf wrote:

>   I want to use scipy,but because the path to  which it pertains  is not among  sys.path.
> so every time I must first use sys.path.append().Is there some method than can change
> sys.path permanently.

Both the RPM and the tarball install to /usr/lib/python2.1/site-packages.
Instead of using 'import fft' et al you should say 'import scipy.fft'.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list