I am trying to use javaclass
http://www.boddie.org. uk/python/javaclass.html
to be able to use supplied java methods in python. From here
http://bytes.com/topic/python/answers/539213-parsing-java-files
I got it working, and using the info on
http://www.boddie.org. uk/python/javaclass.html
and following instructions from the downloaded package that supplied the readme file, I did the following
put the java class files in the python path, so they are visible,
import javaclass.class hook
import thejavaclassfil e
The report I'm getting when doing this is
AttributeError: 'list' object has no attribute 'endswith'
Is there a version clash or something I missed?
I am using Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16)
http://www.boddie.org. uk/python/javaclass.html
to be able to use supplied java methods in python. From here
http://bytes.com/topic/python/answers/539213-parsing-java-files
I got it working, and using the info on
http://www.boddie.org. uk/python/javaclass.html
and following instructions from the downloaded package that supplied the readme file, I did the following
put the java class files in the python path, so they are visible,
import javaclass.class hook
import thejavaclassfil e
The report I'm getting when doing this is
AttributeError: 'list' object has no attribute 'endswith'
Is there a version clash or something I missed?
I am using Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16)
Comment