| 34 | |
| 35 | |
| 36 | class IOStream(): |
| 37 | def __init__(self, path): |
| 38 | self.f = open(path, 'a') |
| 39 | |
| 40 | def cprint(self, text): |
| 41 | print(text) |
| 42 | self.f.write(text+'\n') |
| 43 | self.f.flush() |
| 44 | |
| 45 | def close(self): |
| 46 | self.f.close() |
nothing calls this directly
no outgoing calls
no test coverage detected