![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, filename, options='', screen=sys.stdout) | |
| write (self, s) | |
| writelines (self, ls) | |
| flush (self) | |
Public Attributes | |
| f = open (filename,fileMode) | |
| screen = screen | |
A file utility like unix 'tee'. It writes any output to a file and to screen (stdout by default). <option> if it has an 'a', append to logfile file, otherwise overwrite existing file.
Definition at line 79 of file fileutil.py.
| python.fileutil.Tee.__init__ | ( | self, | |
| filename, | |||
| options = '', | |||
| screen = sys.stdout ) |
Definition at line 82 of file fileutil.py.
| python.fileutil.Tee.flush | ( | self | ) |
Definition at line 103 of file fileutil.py.
| python.fileutil.Tee.write | ( | self, | |
| s ) |
Definition at line 93 of file fileutil.py.
| python.fileutil.Tee.writelines | ( | self, | |
| ls ) |
Definition at line 98 of file fileutil.py.
| python.fileutil.Tee.f = open (filename,fileMode) |
Definition at line 87 of file fileutil.py.
| python.fileutil.Tee.screen = screen |
Definition at line 88 of file fileutil.py.