Python Language Dictionary
Jump to navigation
Jump to search
Internal
Overview
Empty map
m = {}
Access:
d["key"]
Create a Dictionary
Access a Dictionary
An attempt to access an inexistent key ends up in a KeyError
exception being thrown.
Test the existence of a key.
Change a Dictionary
Individual Elements
Add, modify, delete.