Stef Mientki <[EMAIL PROTECTED]> writes:

> Is it possible to change the searchpath for modules on the flight,
> under winXP ?
> Most preferred is some command to extend the searchpath.
> (the environment variable PYTHONPATH needs a reboot)

Do you mean something like that?

>>> import some_module
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named some_module
>>> import sys
>>> sys.path.append("..")
>>> import some_module

http://docs.python.org/tut/node8.html#SECTION008110000000000000000

-- 
HTH,
Rob
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to