beautypg.com

12 mapping types: dictionaries – Rainbow Electronics GM862-GPS User Manual

Page 85

background image





Easy Script

in Python

80000ST10020a Rev.8 - 01/10/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 85 of 100


















The following attribute is supported:

__methods__

4.2.12 Mapping Types: Dictionaries


The following operations are supported with the dictionaries:
















The following attribute is supported:

__methods__


max(s)

s[i] = x

s[i:j] = t

del s[i:j]

s.append(x)

s.extend(x)

s.count(x)

s.index(x)

s.insert(i, x)

s.pop([i])

s.remove(x)

s.reverse()

s.sort([cmpfunc])

len(a)

a[k]

a[k] = x
del a[k]

a.clear()

a.copy()

a.has_key(k)

a.items()

a.keys()

a.update(b)

a.values()

a.get(k[, x])