![[Contents]](../../manuals/icons/contents.gif) 
![[Prev]](../../manuals/icons/prev.gif) 
![[Next]](../../manuals/icons/next.gif) 
Mapping is a specification of a generalized interface to dictionary-like objects.
Currently the 2.0a12 ILU ISL language definition does not directly support dictionary objects. This Mapping interface is an attempt at supporting this type of object. Some semantics of dictionaries are lost here, but by using this definition, it is pretty easy to convert to and from Python dictionaries.
From a StringMap to a Python dictionary:
	d = {}
	for [k, v] in mapobj.GetItems():
	      d[k] = v
From a dictionary to a StringMap:
        mapobj.SetValues(d.items())
OBJECT types:
    String
	ilu.CString
	Strings
	SEQUENCE OF String
	Key
	String
	Value
	String
	Keys
	SEQUENCE OF Key
	Values
	SEQUENCE OF Value
	KeyValuePair
	ARRAY OF 2 String
 	KeyValuePairs
	SEQUENCE OF KeyValuePair
    This interface defines the following exceptions:
Mapping type interface to Python-like dictionaries.
![[Contents]](../../manuals/icons/contents.gif) 
![[Prev]](../../manuals/icons/prev.gif) 
![[Next]](../../manuals/icons/next.gif)