The Python interfaces are also scriptable using a Python connection object. A scriptable Python connection object can be obtained using the Python Connect() function.
PythonConnection = Python Connect();
// return a Python connection scriptable object
x = PythonConnection << Is Connected;
// return 1 if a Python connection is active. Otherwise, returns 0.
Show( x );
PythonConnection << Disconnect;
x = 1;
0