@staticmethod
    def _parser_to_string_io(parser):
        memory_file = StringIO()
        parser.write(memory_file)
        memory_file.flush()
        memory_file.seek(0)
        return memory_file
Turns a ConfigParser into a StringIO stream.
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/pypetlogging.py/LoggingManager._parser_to_string_io