![]() |
ATLAS Offline Software
|
Public Member Functions | |
| def | __init__ (self, filename, options='', screen=sys.stdout) |
| def | write (self, s) |
| def | writelines (self, ls) |
| def | flush (self) |
Public Attributes | |
| f | |
| 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.
| def python.fileutil.Tee.__init__ | ( | self, | |
| filename, | |||
options = '', |
|||
screen = sys.stdout |
|||
| ) |
Definition at line 82 of file fileutil.py.
| def python.fileutil.Tee.flush | ( | self | ) |
Definition at line 103 of file fileutil.py.
| def python.fileutil.Tee.write | ( | self, | |
| s | |||
| ) |
Definition at line 93 of file fileutil.py.
| def python.fileutil.Tee.writelines | ( | self, | |
| ls | |||
| ) |
Definition at line 98 of file fileutil.py.
| python.fileutil.Tee.f |
Definition at line 87 of file fileutil.py.
| python.fileutil.Tee.screen |
Definition at line 88 of file fileutil.py.
1.8.18