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.
Uppgift
Swipe to start coding
- Load a workbook called
"sample_data.xlsx"
; - Print the
sheetnames
; - Print the active sheet.
Lösning
Mark tasks as Completed
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 4
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 9.09
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.
Uppgift
Swipe to start coding
- Load a workbook called
"sample_data.xlsx"
; - Print the
sheetnames
; - Print the active sheet.
Lösning
Mark tasks as Completed
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 4