From the course: Rapid Application Development with Python

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Add Excel sheetnames to a listbox

Add Excel sheetnames to a listbox - Python Tutorial

From the course: Rapid Application Development with Python

Start my 1-month free trial

Add Excel sheetnames to a listbox

- [Instructor] We've now finished constructing the main user interface of the audit application and generated the code for the application design, which I can run. This is just delivering an interface. So far, we have no functional capability. At the start of this course, we installed the open pixel library to enable us to use Excel workbook data, and we took a look at the CSF or detects LS workbook, which contains a worksheet for each system under audit. I'll now add the functional code to the audit application to populate the main list box with the sheets from the CSF workbook. At the list box widget, we can see that the lower design pane has the widget properties. Let's open the fifth tab code. Before we can start to load the list box, we need to import the open pixel library for our program to use. We can do this in the top entry box. Import open pixel. We now need to add some code immediately after we create…

Contents