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 - Python Tutorial
From the course: Rapid Application Development with Python
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Generate code for the app2m 30s
-
Add Excel sheetnames to a listbox3m 24s
-
Link an edit field to a data source3m 51s
-
Add event handlers in wxPython6m 48s
-
Complete the main tab sheet3m 17s
-
Build and using tree controls4m 28s
-
Link edit fields to the tree1m 44s
-
Save data into the worksheet1m 46s
-
Review Python RAD with wxGlade4m 32s
-
-