Get Java from Jython Script

Hello community,

We have a set of Python scripts we’ve been using in a project that we are looking to transition into an Ignition module.

It’s a lot of code to port, and I was wondering if there’s any way to get a head-start on the conversion by somehow leveraging the Jython interpreter?

Any advice is appreciated. Thanks in advance.

In a pinch, you could package and run the jython behind the scenes, that would leave it exposed in your module file.

If you’ve been importing and using java libraries within your existing jython, that code will be relatively easy to port anyways.

1 Like