Package gmisclib :: Module gpk_writer :: Class writer
[frames] | no frames]

Class writer

source code


Instance Methods
 
comments(self, comments)
Add comments to the data file.
source code
 
comment(self, comment) source code
 
header(self, k, v) source code
 
headers(self, h) source code
 
__init__(self, fd)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
data(self, dataset)
Write a series of lines to the output file.
source code
 
extend(self, d) source code
 
append(self, d) source code
 
datum(self, data_item) source code
 
flush(self) source code
 
close(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

comments(self, comments)

source code 

Add comments to the data file. Comments can appear anywhere.

__init__(self, fd)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)