in debug/NicerTrace.py [0:0]
def write(self, msg): # comment out the next line if you don't want to write to stdout self.stdout.write(msg) self.file.write(msg) self.file.flush()