PYTHONPATH or any other way to set seachpath (winXP) ?
Rob Wolfe
rw at smsnet.pl
Sun Feb 4 05:05:34 EST 2007
More information about the Python-list mailing list
Sun Feb 4 05:05:34 EST 2007
- Previous message (by thread): PYTHONPATH or any other way to set seachpath (winXP) ?
- Next message (by thread): PYTHONPATH or any other way to set seachpath (winXP) ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stef Mientki <S.Mientki-nospam at mailbox.kun.nl> 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
- Previous message (by thread): PYTHONPATH or any other way to set seachpath (winXP) ?
- Next message (by thread): PYTHONPATH or any other way to set seachpath (winXP) ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list