Package PyFoam :: Package Basics :: Module BasicFile :: Class BasicFile
[show private | hide private]
[frames | no frames]

Class BasicFile

Known Subclasses:
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 written
Method Summary
  __init__(self, name)
name - name of the file
  close(self)
close the file
  getHandle(self)
get the file-handle.
  writeLine(self, data)
write a data set

Method Details

__init__(self, name)
(Constructor)

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

writeLine(self, data)

write a data set

data - a tuple with the data-set

Generated by Epydoc 2.1 on Mon Aug 15 20:51:53 2005 http://epydoc.sf.net