Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
 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()
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
 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)
Exemplo n.º 5
0
 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()