class ExcelWorkbook:

    def __init__(self, filename):
        from openpyxl import Workbook
        self.wb = Workbook()
        self.ws = self.wb.active
        self.filename = filename

    def write(self, block, data):
        self.ws[block] = data
        self.wb.save(self.filename)

    def append(self, data):
        self.ws.append(data)
        self.wb.save(self.filename)

1c132415819cef1f3da876083eb488bd54d9db4e
<mask token>

class ExcelWorkbook:
    <mask token>

    def write(self, block, data):
        self.ws[block] = data
        self.wb.save(self.filename)
    <mask token>

class ExcelWorkbook:
    <mask token>

    def write(self, block, data):
        self.ws[block] = data
        self.wb.save(self.filename)

    def append(self, data):
        self.ws.append(data)
        self.wb.save(self.filename)

class ExcelWorkbook:

    def __init__(self, filename):
        from openpyxl import Workbook
        self.wb = Workbook()
        self.ws = self.wb.active
        self.filename = filename

    def write(self, block, data):
        self.ws[block] = data
        self.wb.save(self.filename)

    def append(self, data):
        self.ws.append(data)
        self.wb.save(self.filename)
