Contenido del Curso
Excel Automation with Python
Load Workbook
load_workbook()
is a method provided by the openpyxl
library in Python that allows you to load an existing Excel workbook from a file into memory. The load_workbook()
method takes a filename as a parameter and returns a workbook object that represents the file's contents.
Tarea
- Load a workbook called
"sample_data.xlsx"
; - Print the
sheetnames
; - Print the active sheet.
Tarea
- Load a workbook called
"sample_data.xlsx"
; - Print the
sheetnames
; - Print the active sheet.
Mark tasks as Completed
¿Todo estuvo claro?
load_workbook()
is a method provided by the openpyxl
library in Python that allows you to load an existing Excel workbook from a file into memory. The load_workbook()
method takes a filename as a parameter and returns a workbook object that represents the file's contents.
Tarea
- Load a workbook called
"sample_data.xlsx"
; - Print the
sheetnames
; - Print the active sheet.
Mark tasks as Completed
Sección 1. Capítulo 4
AVAILABLE TO ULTIMATE ONLY