Skip to content
UPEEC

openpyxl, XlsxWriter, xlrd and pyxlsb

Read/write Excel .xlsx (openpyxl), create rich spreadsheets with charts (XlsxWriter), and read old .xls (xlrd) and binary .xlsb (pyxlsb).

Beginner
Comments 0
from openpyxl import Workbook
wb = Workbook(); ws = wb.active
ws.append(["Name", "Score"]); ws.append(["Asha", 92])
wb.save("results.xlsx")

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.