from ironxl import *
# Supported for XLSX, XLS, XLSM, XLTX, CSV, and TSV
workbook = WorkBook.Load("sample.xlsx")
# Select worksheet at index 0
worksheet = workbook.WorkSheets[0]
# Get any existing worksheet
first_sheet = workbook.DefaultWorkSheet
# Select a cell and return the converted value
cell_value = worksheet["A2"].IntValue
# Read from ranges of cells elegantly.
for cell in worksheet["A2:A10"]:
print("Cell {} has value '{}'".format(cell.AddressString, cell.Text))
# Calculate aggregate values such as Min, and Sum
total_sum = worksheet["A2:A10"].Sum()
Explore the code, install IronXL for Python with PyPI
Cross Platform Support
Designed for Python 3+ running on Windows, Mac, Linux or Cloud Platforms. Available for .NET & Python
A Python Excel Library that prioritizes accuracy and ease of use.
IronXL for Python is the leading Python Excel library for generating and editing Excel documents. Its user friendly API allows developers to add Excel functionality to Python projects in minutes.
The Excel API you need, without the Office Interop hassle.
A Python Excel Library that prioritizes accuracy and ease of use.
IronXL for Python is the leading Python Excel library for generating and editing Excel documents. Its user friendly API allows developers to add Excel functionality to Python projects in minutes.
The Excel API you need, without the Office Interop hassle.
IronXL for Python Release Version 2025.6Features & UpgradesSee what's new