code: def write(cls, table,
                order=None,
                header=None,
                output="table",
                sort_keys=True,
                show_none=""
                ):
          
          if output == "raw":
              return table
          elif table is None:
              return None
          elif type(table) in [dict, dotdict]:
              return cls.dict(table,
                              order=order,
                              header=header,
                              output=output,
                              sort_keys=sort_keys,
                              show_none=show_none)
  
          elif type(table) == list:
  
              return cls.list(table,
                              order=order, header=header, output=output,
                              sort_keys=sort_keys, show_none=show_none)
          else:
              Console.error("unkown type {0}".format(type(table)))
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
          :return: