def start(self) -> None:
    'Prepare the formatter to receive input.\n\n        This defaults to initializing :attr:`output_fd` if :attr:`filename`\n        '
    if self.filename:
        dirname = os.path.dirname(os.path.abspath(self.filename))
        os.makedirs(dirname, exist_ok=True)
        self.output_fd = open(self.filename, 'a')
Prepare the formatter to receive input.

This defaults to initializing :attr:`output_fd` if :attr:`filename`
def start(self) -> None:
    'Prepare the formatter to receive input.\n\n        This defaults to initializing :attr:`output_fd` if :attr:`filename`\n        '
    if self.filename:
        dirname = os.path.dirname(os.path.abspath(self.filename))
        os.makedirs(dirname, exist_ok=True)
        self.output_fd = open(self.filename, 'a')