close method

close

Closes the current writer and releases any system resources associated with the writer.

def close(self):
    ...

See Also