Is there a way to detect that the interpreter that executes the code is Jython or CPython?
I have another post: Jython does not catch Exceptions. For this case, if I know the interpreter is Jython, I can have different code that should work.
if JYTHON:
    sys.path.insert(0, os.path.dirname(__file__))
    from utils import *
else:
    from .utils import *
 
     
     
    