PythonDictionary

Assembly: Python;

Description

The PythonDictionary class implements the object that is a Python dictionary.

Constructors

  Constructor name Brief description
Create The Create constructor creates a dictionary based on the specified values array.

Class object properties inherited from IPythonDictionary

  Property name Brief description
Item The Item property returns the value with the specified key from the dictionary.
Keys The Keys property returns the list of all dictionary keys.
Length The Length property returns the number of key-value pairs in the dictionary.
Values The Values property returns the list of all dictionary values.

Class object properties inherited from IPythonObject

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

Class object methods inherited from IPythonDictionary

  Method name Brief description
Clear The Clear method deletes all values from the dictionary.
Pop The Pop method removes the element with the specified key from the dictionary and returns its value.
Update The Update method updates a dictionary by adding a new element to it containing the specified key-value pair.

See also:

Python Assembly Classes