Skip to content
Advertisement

Tag: jpype

Is there a way to typecast interface using Jpype?

I am trying to call Java code from Python using Jpype and trying to implement Interface using JProxy for callbacks. It is giving me error that “TypeError: Cannot create Java interface instances” If i try to cast it e.g. But if i pass it directly It gives error that no method found as my method is expecting PuCallback while i

Advertisement