code: def flatwrite(cls, table,
                    order=None,
                    header=None,
                    output="table",
                    sort_keys=True,
                    show_none="",
                    sep="."
                    ):
          
  
          flat = flatten(table, sep=sep)
  
          return Printer.write(flat,
                               sort_keys=sort_keys,
                               order=order,
                               header=header,
                               output=output)
docs: writes the information given in the table
          :param table: the table of values
          :param order: the order of the columns
          :param header: the header for the columns
          :param output: the format (default is table, values are raw, csv, json, yaml, dict
          :param sort_keys: if true the table is sorted
          :param show_none: passed along to the list or dict printer
          :param sep: uses sep as the separator for csv printer
          :return: