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.
Save data into the worksheet - Python Tutorial
From the course: Rapid Application Development with Python
Save data into the worksheet
- [Instructor] As the user carries out their system audit, they'll want to update the details of evidence provided and their assessment of it against the requirements of the control. They'll also make a judgment on whether the system is compliant or not with respect to this control. And if not, then set a priority for remediation based on the level of risk that the noncompliance presents. The Save button is used to save the data to the application's internal copy of the workbook, but not to save the workbook itself out to desk. That occurs on the main tab using the Store button. Let's select the Save button and add an event handler. I'll add, On Save Pressed. I'll regenerate the code and we can add the event handling code. Here at line 254, we have the event handler for the Save button, which I've coded up already. The first thing we'll do, as we did when we displayed the data is to retrieve the additional data from the tree…
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
-
-