[Jython] Import py file from JAR?

Robert Oschler Oschler at earthlink.net
Thu Nov 7 16:03:31 EST 2002


Thanks to those of you answered my original fuzzy post about importing
modules.  After extensive Google searching, I believe what I really want to
do is add the JAR file that my Jython JavaBean resides in to the Jython's
path.  I know I can append paths to sys.path with sys.path.append(Path).
But I need to know how to identify the path of my JAR properly so that
Jython searches the system path properly.

Can anyone give me the correct steps or syntax, or is this idea not
workable?

thx







More information about the Python-list mailing list