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

Class writer

source code


Write a file in a=v; format.

Instance Methods
 
comment(self, comment)
Add a comment to the data file.
source code
 
header(self, k, v)
NOTE: this is not a fully general function.
source code
 
__init__(self, fd)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
datum(self, data_item) source code
 
append(self, d) (Inherited from gmisclib.gpk_writer.writer) source code
 
close(self) (Inherited from gmisclib.gpk_writer.writer) source code
 
comments(self, comments)
Add comments to the data file. (Inherited from gmisclib.gpk_writer.writer)
source code
 
data(self, dataset)
Write a series of lines to the output file. (Inherited from gmisclib.gpk_writer.writer)
source code
 
extend(self, d) (Inherited from gmisclib.gpk_writer.writer) source code
 
flush(self) (Inherited from gmisclib.gpk_writer.writer) source code
 
headers(self, h) (Inherited from gmisclib.gpk_writer.writer) source code

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

Class Variables
  __doc__ = """Write a file in a=v; form...
Properties

Inherited from object: __class__

Method Details

comment(self, comment)

source code 

Add a comment to the data file.

Overrides: gpk_writer.writer.comment

header(self, k, v)

source code 

NOTE: this is not a fully general function. Keys may not have spaces or equals signs in them. Note also that reading of headers from a=v; files is not supported.

Overrides: gpk_writer.writer.header

__init__(self, fd)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

datum(self, data_item)

source code 
Overrides: gpk_writer.writer.datum

Class Variable Details

__doc__

Value:
"""Write a file in a=v; format.
			"""