Exemplo n.º 1
0
 def __init__(self):
     Workbook.__init__(self)
     self.ws = self.active
     self.workbook_name = f"list.xlsx"
     try:
         self.load = load_workbook(self.workbook_name)
     except FileNotFoundError:
         headers = "comment"
         self.ws.cell(row=1, column=1,
                      value=headers)  #// +1 because it must be at least 1
         self.save(self.workbook_name)
Exemplo n.º 2
0
 def __init__(self):
     Workbook.__init__(self)
     self.name = None