When constructing a String on runtime jython can not handle it, only on complilation.

 

String a = "calculate";

String b = "RelationStatistics";

String c = "calculateRelationStatistics";

pyObject.invoke(c); // works

pyObject.invoke(a+b); // throws AttributeError: module 'TwoDimensionalMatrices.ChiChiProcess.ChiChiProcess' has no attribute 'calculateRelationStatistics'

 

 

has anyone handled that before?

Any solution will be welcomed!!

 

Yehuda Rajuan