The web blog http://www.learnsccd.com strives to be a comprehensive guide to SCCD, TADDM, SERVICE NOW and MAXIMO tools. This is a personal site maintained solely by me. I intend to update it regularly.For live updates please follow us on.

How to import packages and classes in automation script using jython?

Import packages and classes in automation script using Jython

Suppose you need to  import MboConstants and MXLogger classes. Below code may help you which I have used in Jython AutoScript.

from psdi.util.logging import MXLogger
from psdi.util.logging import MXLoggerFactory
from psdi.mbo import MboConstants