Home | Trees | Index | Help |
---|
Package PyFoam :: Package Basics :: Module BasicFile :: Class BasicFile |
|
OutputFile
File for data output
The format of the file is: one data-set per line Values are separated by tabs
The file is created the first time it is writtenMethod Summary | |
---|---|
name - name of the file | |
close the file | |
get the file-handle. | |
A hook for outputting stuff at the end of the file | |
A hook for outputting stuff at the end of each line | |
A hook for outputting stuff at the start of each line | |
A hook for outputting stuff at the beginning of the file | |
write a data set |
Method Details |
---|
__init__(self,
name)
name - name of the file
|
close(self)close the file |
getHandle(self)get the file-handle. File is created and opened if it wasn't opened before |
outputAtEnd(self)A hook for outputting stuff at the end of the file |
outputAtLineEnd(self)A hook for outputting stuff at the end of each line |
outputAtLineStart(self)A hook for outputting stuff at the start of each line |
outputAtStart(self)A hook for outputting stuff at the beginning of the file |
writeLine(self, data)write a data set data - a tuple with the data-set |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 | http://epydoc.sf.net |