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()
Next Step: Start Free Trial
Fully functional without watermarks
30-day trial - no credit card required
Next Step: Start Free Trial
Fully functional without watermarks
30-day trial - no credit card required
Explore the code, install IronXL for Python with PyPI
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.