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()
#Supported for XLSX, XLS, XLSM, XLTX, CSV, and TSV
#Select worksheet at index 0
#Get any existing worksheet
#Select a cell and return the converted value
#Read from ranges of cells elegantly.
#Calculate aggregate values such as Min, and Sum
'INSTANT VB TODO TASK: The following line uses invalid syntax:
'from ironxl import * workbook = WorkBook.Load("sample.xlsx") worksheet = workbook.WorkSheets[0] first_sheet = workbook.DefaultWorkSheet cell_value = worksheet["A2"].IntValue for cell in worksheet["A2:A10"]: print("Cell {} has value '{}'".format(cell.AddressString, cell.Text)) total_sum = worksheet["A2:A10"].Sum()
Commencez ici
Liens vers des documents connexes
Prêt à commencer ? Version : 2024.10 vient de paraître
Des millions d'ingénieurs dans le monde entier lui font confiance
Réservez une démo en direct gratuite
Réservez une démonstration personnelle de 30 minutes.
Pas de contrat, pas de détails de carte, pas d'engagements.
Voici ce à quoi vous pouvez vous attendre :
Une démonstration en direct de notre produit et de ses principales fonctionnalités
Obtenez des recommandations de fonctionnalités spécifiques au projet
Toutes vos questions trouvent réponse pour vous assurer de disposer de toutes les informations dont vous avez besoin. (Aucun engagement de votre part.)
CHOISIR L'HEURE
VOS INFORMATIONS
Réservez votre démo en direct gratuite
Fiable par plus de 2 millions d'ingénieurs dans le monde entier