PythonScript
A script engine wrapper for dynamically evaluating Python source code using the Jython engine.
Variables are bound directly to the engine without type parameter support, since Python is dynamically typed.
Code is checked before it runs, on a best-effort basis: literal JVM-termination calls and Python's sys.exit(), exit(), quit(), and raise SystemExit are rejected. The checks match text, including inside string literals and comments, and they are not a security sandbox; see PythonGuards for what they do and do not catch. Run untrusted scripts in an isolated process or JVM. Method calls and definitions such as obj.exit() and def exit(self): are allowed.
Parameters
nullGlobalContext
if true, sets the global scope bindings to null on initialization