From: Harlan H. <ha...@ot...> - 2001-05-18 02:26:42
|
I have a collection of java class files that I want to add a layer of python to, to make it look more python-like. for instance, a bit of python code makes my java class act like a python dictionary. what i want to do now is bundle it all into a jar file... so, include all my com/otelnet/.class files, and then include a mymod.py at the root, or a mymod$py.class at the root, so when I have the jar in the classpath, i can import mymod this doesnt work. I've also tried putting an __init__.py in the jarfile, and import <jarfilename> but this doesnt work either. is there a way to do this? any help is appreciated. |