The runtime.py module#

Summary#

initialize

Initialize the runtime.

Description#

Runtime initialize for pythonnet in embedding.

Module detail#

runtime.initialize(version: int) None#

Initialize the runtime.

Pythonnet is already initialized but we need to do some special codec handling to make sure the interop works well for Mechanical. These are need to handle (among other things) list and other container conversions between C# and python