def __init__(self, filename, file_content=None, load_sheet_with_name=None, load_sheet_at_index=None, **keywords): BookReader.__init__(self, filename, file_content=file_content, load_sheet_with_name=load_sheet_with_name, load_sheet_at_index=load_sheet_at_index, **keywords) self.native_book.close()
def __init__(self, filename, file_content=None, sheetname=None, **keywords): BookReader.__init__(self, filename, file_content=file_content, sheetname=sheetname, **keywords) self.native_book.release_resources()
def __init__(self, filename, file_content=None, load_sheet_with_name=None, load_sheet_at_index=None, **keywords): if filename is None and file_content is None: self.keywords = keywords self.mysheets = {"csv": []} else: BookReader.__init__(self, filename, file_content=file_content, load_sheet_with_name=load_sheet_with_name, load_sheet_at_index=load_sheet_at_index, **keywords)
def load_from_memory(self, file_name): BookReader.load_from_memory(self, file_name) return file_name # just pass it
def load_from_file(self, file_content): BookReader.load_from_file(self, file_content) return file_content # just pass it
def get_sheet(self, native_sheet): BookReader.get_sheet(self, native_sheet) return ArrayReader(native_sheet)
def sheet_iterator(self): BookReader.sheet_iterator(self) return [NamedContent(name, self.native_book[name]) for name in self.native_book]