How to execute python function in java using jython which has import modules on top of py files -


i trying execute python function in java using jython, using python file has import module, , due execution fails saying

traceback (most recent call last):
file "\users\ibm_admin\desktop\poc\swt\src\com\test\startpcommexecution.py",
line 7, in import const importerror: no module named const

if create simple function no import modules works fine.

is there way how overcome failure of import modules using jython?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -