def execute(self, statement, commit=True):
    'Write a line to the output file.'
    self.output_file.writelines(statement)
Write a line to the output file.
def execute(self, statement, commit=True):
    
    self.output_file.writelines(statement)