Can you provide more details? For example, what kind of errors you are having?
Also, did you put the jar file into the java classpath or just the python class
path? If your jar file contains java file, it is better to add it directly to
the java classpath.
--- José_A_Martín_H <jose.martin@...> wrote:
> can i use this type of inheritance ?
> i hace a java library in a .jar file
> i need to subclass the class : com.cyberbotics.webots.Controller
> i am doing this :
> class Judoka0(com.cyberbotics.webots.Controller):
> def prueba(a):
> print a
> def main():
> print "Hola Mundo"
> but i get a error,
> how could do it ?