PythonClassObject.Create

Syntax

Create(ModuleName: String; ClassName: String; Params: Array);

Parameters

ModuleName. Module name with code in the Python language in the file system. The name is case-sensitive and is specified without extension.

ClassName. Class name. The name is case-sensitive.

Params. Array of parameter values that must be sent to class constructor.

Description

The Create constructor creates an object that is a class instance with the specified name.

Comments

If a default constructor is used in the Python class, do not specify the Params parameter.

Example

The example of use is given in description of the IPythonClassObject.GetAttr method.

See also:

PythonClassObject