Pychecker + Jython trick
Jonathan Aquino
Jon_Aquino at shaw.ca
Mon Jul 7 16:14:06 EDT 2003
To get Pychecker to work with my Jython files, I had to write some
stubs for the Java classes. Things like:
class SimpleDateFormat:
def __init__(self, x):
pass
def parse(self, x):
return Date(None)
def format(self, x):
return ""
It would be nice to be able to do this automatically. For example,
someone could make a simple tool to generate Python stubs from jar
files.
Jon
More information about the Python-list
mailing list