IPythonTuple

Assembly: Python;

Description

The IPythonTuple interface is used to work with Python language data type that is a tuple.

Inheritance Hierarchy

          IPythonObject

          IPythonTuple

Comments

A Python tuple is a non-changeable list. Tuple elements are assigned with values when the tuple is initialized and cannot be further changed. It is also impossible to add new elements. Unlike lists, tuples occupy less RAM.

To create a Python tuple, use the PythonTuple Fore class.

Properties

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

Properties inherited from IPythonObject

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

Methods

  Method name Brief description
ToArray The ToArray method transforms tuple contents into the Fore array.

See also:

Python Assembly Interfaces