Home | Trees | Indices | Help |
|
---|
|
object --+ | utils.graph.DetailNode --+ | object_models.xml.basic.BasicBase --+ | NifFormat.LineString
Basic type for strings ending in a newline character (0x0a).
>>> from tempfile import TemporaryFile >>> f = TemporaryFile() >>> l = NifFormat.LineString() >>> f.write('abcdefg\x0a'.encode()) >>> f.seek(0) >>> l.read(f) >>> str(l) 'abcdefg' >>> f.seek(0) >>> l.set_value('Hi There') >>> l.write(f) >>> f.seek(0) >>> m = NifFormat.LineString() >>> m.read(f) >>> str(m) 'Hi There'
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
|
|
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 10 19:03:36 2011 | http://epydoc.sourceforge.net |