IPythonSerializer

Assembly: Python;

Description

The IPythonSerializer interface contains methods for saving and loading of Python modules.

Inheritance Hierarchy

IPythonSerializer

Comments

To work with Python modules:

  1. Create an instance of the PythonSerializer class and cast it to the IPythonSerializer interface.

  2. Execute the CreateLoaderFromFile method to get the object that loads Python modules from files, or the SaveModuleToFile method to save a Python module to file.

Methods

  Method name Brief description
CreateLoaderFromFile The CreateLoaderFromFile method creates an object that is used to load Python modules.
SaveModuleToFile The SaveModuleToFile method saves the specified Python module to file.

See also:

Python Assembly Interfaces