beautypg.com

29 built-in modules: marshal – Rainbow Electronics GM862-GPS User Manual

Page 92

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 92 of 100






























4.2.29 Built-in Modules: marshal


Built-in marshal module is supported with the following methods:







apply(function, args[, keywords])

buffer(object[, offset[, size]])

chr(i)

dir([object])

getattr(object, name[, default])

hasattr(object, name)

hash(object)

hex(x)

id(object)

isinstance(object, class)

len(s)

list(sequence)

map(function, list, ...)

max(s[, args...])

min(s[, args...])

pow(x, y[, z])

range([start,] stop[, step])

reduce(function, sequence[, initializer])

repr(object)

setattr(object, name, value)

slice([start,] stop[, step])

str(object)

tuple(sequence)

type(object)

xrange([start,] stop[, step])

dump(value,file)

load

(

file)

dumps(value)

loads(string)