- SharedInterpreter
- SubInterpreter
SharedInterpreter if:
- You are new to running Python scripts in .
- You are using third-party libraries like NumPy.
SubInterpreter if:
- You require parallel script execution.
- Full third-party library support is not important to you.
SHARED_INTERPRETER environment variable. If you set the environment variable SHARED_INTERPRETER=false, uses SubInterpreter.
If you do not set the environment variable, or you explicitly set it to true, defaults to SharedInterpreter.
While restricts access to modules based on the value of ScriptingEngineHardeningLevel, it cannot fully guarantee that third-party libraries installed on the system abide by these rules. Use this with caution in highly controlled environments.