jython and PYTHONPATH
Harald Kirsch
pifpafpuf at gmx.de
Sat Jun 28 15:19:04 EDT 2003
Jython does not seem to care about PYTHONPATH:
ruddigore:jython-2.1) setenv PYTHONPATH blarg
ruddigore:jython-2.1) ./jython
Jython 2.1 on java1.4.2-beta (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> import sys; print sys.path
['', '/tmp_mnt/net_nfs6/vol1/homes/kirsch/tmp/jython-2.1/.',
'/homes/kirsch/tmp/jython-2.1/Lib']
>>>
How is sys.path initialized in Jython?
Harald Kirsch
More information about the Python-list
mailing list