Пример #1
0
    def __init__(self, add_filename=False):
        # Mapping File
        self.mwb = _load_workbook(
            filename=map_filename, data_only=True, read_only=True,
        )

        # Output File
        self.add_filename = add_filename
        self.owb = Workbook()
        self.ows = self.owb.active
        self.orow = 1  # initial staring row
        self.success_files = []
        self.error_files = []
        self.files_with_hidden_cols_rows = []

        self.init_headers()
Пример #2
0
    def __init__(self, add_filename=False):
        # Mapping File
        self.mwb = _load_workbook(
            filename=map_filename, data_only=True, read_only=True,
        )

        # Output File
        self.add_filename = add_filename
        self.owb = Workbook()
        self.ows = self.owb.active
        self.orow = 1  # initial staring row
        self.success_files = []
        self.error_files = []
        self.files_with_hidden_cols_rows = []

        self.init_headers()
Пример #3
0
def load_workbook(filename, *args, **kwargs):
    return _load_workbook(gen_file_path(filename), *args, **kwargs)
Пример #4
0
def load_workbook(filename, *args, **kwargs):
    return _load_workbook(gen_file_path(filename), *args, **kwargs)