IPythonList

Assembly: Python;

Namespace: Prognoz.Platform.Interop.Python;

Description

The IPythonList interface is used to work with Python language data type that is a list.

Inheritance Hierarchy

          IPythonObject

          IPythonList

Comments

A Python list is an organized collection of objects with equal or different types. List elements can change their values. New elements can also be added to the list.

To create a Python list, use the PythonList Fore class.

Properties

  Property name Brief description
Item The Item property returns value of list element with the specified index.
Length The Length property returns list length.

Properties inherited from IPythonObject

  Property name Brief description
Type The Type property returns object type.

Methods

  Method name Brief description
Add The Add method adds the specified value to the list.
SetAt The SetAt method sets value for the specified list element.
ToArray The ToArray method transforms list contents into the Fore array.

See also:

Python Assembly Interfaces