Python3Script Xojo Plugin

Python3Dictionary Class (console safe)

A class that represents a Python 3 dictionary object

Python3EntityBase
   Python3Dictionary

class Python3Dictionary

Constructors

Python3DictionaryDefault constructor that constructs a Python3Dictionary with zero elements.

Properties

CountReturns number of items in the dictionary

Methods

ClearClears all elements from the dictionary
ContainsChecks if the dictionary has a element with a given key
ContainsChecks if the dictionary has a element with a given string key
CopyMakes a copy of the dictionary and returns it as new dictionary.
GetKeysGets list of all Keys in the dictionary and returns them as Python3List.
GetValueGets value by given string key from the dictionary
GetValueGets value by given key from the dictionary.
GetValuesGets all values from the dictionary and returns them as Python3List
RemoveRemoves item from the dictionary by a given string key.
RemoveRemoves item from the dictionary by a given key.
SetValueSets value in the dictionary by a key.
SetValueSets value in the dictionary by a string key.

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM