From: Sebastien P. <Seb...@is...> - 2001-09-10 15:57:08
|
Hi all, I have written two classes, namely XMLElement and XMLTextElement in a file named XMLElement.py. I load this file using a PythonInterpreter in my main static method of my main class. Another class (XMLDocument) makes use of reflection using the Class.forName("XMLElement.XMLElement") to get the class I declared in Python. The problem is that the class is not found. So I looked in the FAQ and have not seen any answer, so here are the possibilties I can think of: - Python does not define classes that are usable from the running JVM - The classes are put in a package I don't know about. If this is the case, how can I specify in which packages my Python classes should go? Cheers, -- Sebastien. |