From the course: Rapid Application Development with Python
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Generate code for the app - Python Tutorial
From the course: Rapid Application Development with Python
Generate code for the app
- We've now got a complete design for our application. So let's see how we generate application code. I'll select the application widget at the top of the design and in the lower left panel, we can adjust the configuration for the application. I'll change the class for the application to csfApp. I'll keep the default configuration of single file. And I'll select Python three. I don't need to keep user code when I first generate, but going forward, I'll want to make sure that any code I've added directly into the wxPython application is retained. So I'll check the key user code now so that I don't forget. I definitely want to mark code. So I know what wxGlade will replace when I regenerate the code. Okay, I can now add a Python file name to the output path. I'll call this CSFAudit.py and I'll generate the source code. I've opened the wxPython file that wxGlade generated. Let's take a quick look at…
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
-
-
-
-
-
-
(Locked)
Generate code for the app2m 30s
-
(Locked)
Add Excel sheetnames to a listbox3m 24s
-
(Locked)
Link an edit field to a data source3m 51s
-
(Locked)
Add event handlers in wxPython6m 48s
-
(Locked)
Complete the main tab sheet3m 17s
-
(Locked)
Build and using tree controls4m 28s
-
(Locked)
Link edit fields to the tree1m 44s
-
(Locked)
Save data into the worksheet1m 46s
-
(Locked)
Review Python RAD with wxGlade4m 32s
-
(Locked)
-