JPython newbie, CLASSPATH question

Allen Wallis allen at rrsg.ee.uct.ac.za
Wed Dec 22 03:36:56 EST 1999


Hi,
I'm just starting out with JPython, but I have a fair experience in Java
programming. Is there a means by which one can can alter the classpath from
within python's shell? It's easy to adjust the .bat file that starts JPython
to include my java classes there, but is it possible to do this once jpython
has started?  Basically I want to be able to type "from mypackage import
myclass", but obviously mypackage must be accessible from some path that
python knows about.
any help appreciated.
Allen





More information about the Python-list mailing list