(self, header_table, file, max_column_size=2000, table_titles=None, archive_basepath='')
Create any initial files, headings, etc necessary.
        :param header_table: tuple of one of the following formats
            tuple(sheet_name, [['col1header', 'col2header', ....]])
            tuple(sheet_name, [FormattedRow])
Create any initial files, headings, etc necessary.
        :param header_table: tuple of one of the following formats
            tuple(sheet_name, [['col1header', 'col2header', ....]])
            tuple(sheet_name, [FormattedRow])
Create any initial files headings etc necessary . : param header_table : tuple of one of the following formats tuple ( sheet_name [[ col1header col2header .... ]] ) tuple ( sheet_name [ FormattedRow ] )
def open(self, header_table, file, max_column_size=2000, table_titles=None, archive_basepath=''):
        """
        Create any initial files, headings, etc necessary.
        :param header_table: tuple of one of the following formats
            tuple(sheet_name, [['col1header', 'col2header', ....]])
            tuple(sheet_name, [FormattedRow])
        """
        table_titles = table_titles or {}

        self._isopen = True
        self.max_column_size = max_column_size
        self._current_primary_id = 0
        self.file = file
        self.archive_basepath = archive_basepath

        self._init()
        self.table_name_generator = UniqueHeaderGenerator(
            self.max_table_name_size
        )
        for table_index, table in header_table:
            self.add_table(
                table_index,
                list(table)[0],
                table_title=table_titles.get(table_index)
            )
def open ( self , header_table , file , max_column_size = 2000 , table_titles = None , archive_basepath = '' ) : table_titles = table_titles or { } self . _isopen = True self . max_column_size = max_column_size self . _current_primary_id = 0 self . file = file self . archive_basepath = archive_basepath self . _init ( ) self . table_name_generator = UniqueHeaderGenerator ( self . max_table_name_size ) for table_index , table in header_table : self . add_table ( table_index , list ( table ) [ 0 ] , table_title = table_titles . get ( table_index ) )