(self, line)
Writes a line to the output file. The line is preceded and followed by a new line because other libraries
        could be writing to the output file as well (e.g. some libs might write debugging info to STDOUT) so we would
        like to prevent our lines from being interlaced with other messages so the MultiLangDaemon can understand them.

        :param str line: A line to write (e.g. '{"action" : "status", "responseFor" : "<someAction>"}')
Writes a line to the output file. The line is preceded and followed by a new line because other libraries
        could be writing to the output file as well (e.g. some libs might write debugging info to STDOUT) so we would
        like to prevent our lines from being interlaced with other messages so the MultiLangDaemon can understand them.
Writes a line to the output file . The line is preceded and followed by a new line because other libraries could be writing to the output file as well ( e . g . some libs might write debugging info to STDOUT ) so we would like to prevent our lines from being interlaced with other messages so the MultiLangDaemon can understand them .
def write_line(self, line):
        """
        Writes a line to the output file. The line is preceded and followed by a new line because other libraries
        could be writing to the output file as well (e.g. some libs might write debugging info to STDOUT) so we would
        like to prevent our lines from being interlaced with other messages so the MultiLangDaemon can understand them.

        :param str line: A line to write (e.g. '{"action" : "status", "responseFor" : "<someAction>"}')
        """
        self.output_file.write('\n{line}\n'.format(line=line))
        self.output_file.flush()
def write_line ( self , line ) : self . output_file . write ( '\n{line}\n' . format ( line = line ) ) self . output_file . flush ( )