momobear napisaĆ(a): > A friend of my write a Java program, and I want use it in my python > program as a module. I searched the topic in Google and find maybe the > better way is use GCJ to compile it. Is there any other way for me? > the simple and speediness choice the better. thanks.
If the speed is crucial, I suggest compiling the Java code with GCJ, then write Python extension module for the Java library. This is how the Lucene indexing library is ported to Python, see http://pylucene.osafoundation.org/. -- Jarek Zgoda "We read Knuth so you don't have to." -- http://mail.python.org/mailman/listinfo/python-list