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

Save data into the worksheet - Python Tutorial

From the course: Rapid Application Development with Python

Start my 1-month free trial

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…

Contents