Python Forum
Strategy on updating edits back to data table and object variables
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strategy on updating edits back to data table and object variables
#1
I pull data out of a data table to assign to a object's variables. I use these object variables to assign to kivy text input.text. There are numerous text inputs on a screen.
Question 1: when text is changed in some of the text inputs, is it easier just to update all the text entries back to the data table regardless or set up code to bind each text input so only the ones changed get updated back to the table?

Question2: Same idea on updating object variable after a change has been made-just grab them all and update versus going through a call back for each text input and only update ones changed?

Coding wise just seems easier update all each time. speed wise not sure.
thanks
Reply


Messages In This Thread
Strategy on updating edits back to data table and object variables - by hammer - Dec-11-2021, 02:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create X Number of Variables and Assign Data RockBlok 8 872 Nov-14-2023, 08:46 AM
Last Post: perfringo
  Using pyodbc&pandas to load a Table data to df tester_V 3 748 Sep-09-2023, 08:55 PM
Last Post: tester_V
  Moving average strategy irina_shubina 2 1,746 Jul-31-2022, 05:11 PM
Last Post: paulyan
  strategy to troubleshoot what pyinstaller misses hammer 0 913 May-23-2022, 01:05 AM
Last Post: hammer
  Write and read back data Aggie64 6 1,813 Apr-18-2022, 03:23 PM
Last Post: bowlofred
  Best strategy for creating .exe for windows hammer 4 1,454 Apr-05-2022, 12:47 AM
Last Post: hammer
  panda table data kucingkembar 0 1,076 Mar-01-2022, 10:38 PM
Last Post: kucingkembar
  Sorting table data Blacktime2 1 1,293 Feb-26-2022, 07:05 PM
Last Post: ibreeden
  SQLALCHEMY - Not selecting data from table jamesaarr 4 2,178 Nov-02-2021, 03:02 PM
Last Post: Larz60+
  SaltStack: MySQL returner save less data into Database table columns xtc14 2 2,116 Jul-02-2021, 02:19 PM
Last Post: xtc14

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020