Re: Changing Pythonpath

Mike Tibbs (tibbs@dopey.si.com)
Wed, 23 Mar 94 10:18 EST

> 'Tis but a newbie dork-question, but I can't move further through the
> tutorial if I can't change my pythonpath AFTER having installed Python
> 1.0.1 on "my" HP series-700 (cookbook installation: "./configure" and
> then "make"). It is installed in my personal directory
> "~/python/python-1.0.1/"
>
> Thank you for your patience.
>
> Craig Meyer
> Harvey Mudd College
> Claremont, CA
>

See page 5 of the Tutorial.

Within python you can do:

>>> import sys
>>> sys.path = ['.','/home/dopey/users/tibbs/python/python-1.0.1']
>>> sys.path
['.', '/home/dopey/users/tibbs/python/python-1.0.1']

and this will last for the duration of the session.

==============================================================================
Michael Tibbs email: tibbs_michael@si.com
Smiths Industries Aerospace voice: 616-241-7572
4141 Eastern Ave SE FAX: 616-241-7533
Grand Rapids, MI 49518
==========================="OOP is no mistake."===============================