Assembly: Python;
Namespace: Prognoz.Platform.Interop.Python;
The IPythonTuple interface is used to work with Python language data type that is a tuple.
IPythonTuple
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.
Property name | Brief description | |
Item | The Item property returns value of tuple element with the specified index. | |
Length | The Length property returns tuple length.. |
Property name | Brief description | |
Type | The Type property returns object type. |
Method name | Brief description | |
ToArray | The ToArray method transforms tuple contents into the Fore array. |
See also: