Closed gal064 closed 2 years ago
Yes sure. Follows a code example:
>>> import formulas
>>> import openpyxl
>>> wb = openpyxl.load_workbook('excel.xlsx')
>>> xl_model = formulas.ExcelModel()
>>> xl_model.books['PLACEMARK.XLSX'] = {formulas.BOOK: wb}
>>> xl_model.load('placemark.xlsx')
<formulas.excel.ExcelModel at ...>
Instead of importing a file, can I import a openpyxl workbook/worksheet?