Kursusindhold
Excel Automation with Python (project)
Excel Automation with Python (project)
 Load Workbook
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.
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4
AVAILABLE TO ULTIMATE ONLY