Gets a new runtime object for running Python code.

 

   

Syntax
 

[C#]
PythonRuntime GetRuntime()

 

Throws Exceptions InvalidOperationException: Thrown when the Python engine has not been initialized.

 

   

Params
 
Name Description
return A new runtime object.

 

   

Notes
 

Gets a new runtime object for running Python code.

 

   

Example
 
None.