0

I have this code in Python and using the library xlsxwriter I want to open an existing worksheet in the file, not to create a new one. How can I do?

import xlsxwriter

workbook = xlsxwriter.Workbook('demo.xlsx')
worksheet = workbook.add_worksheet()
worksheet.write("G4", "xyz")
workbook.close()
jmcnamara
  • 33,735
  • 6
  • 80
  • 93

0 Answers0