beautypg.com

13 other built-in types: file objects, 14 other built-in types: modules – Rainbow Electronics GM862-GPS User Manual

Page 86

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

4.2.13 Other Built-in Types: File Objects


The following methods are supported with the file objects:

















The following method is not supported:

f.truncate([size])


The following attributes are supported:







4.2.14 Other Built-in Types: Modules


Modules objects and modules attribute access are supported.

The following attributes are supported:




f.close()

f.flush()

f.isatty()

f.fileno()

f.read([size])

f.readline([size])

f.readlines([sizehint])

f.seek(offset[,

whence])

f.tell()

f.write(str)

f.writelines(list)

__methods__

softspace

mode
name

closed

__dict__

__name__