I have this current code which writes data into entry boxes. I am trying to create a feature which selects what is in the boxes and updates the record in the table, Trainers. This is the current code:
 def Update(self):
    global Record
    global Name
    global TrainerID
    global Postcode
    global Age
    global Gender
    global Password
    (Name, TrainerID, Postcode, Age, Gender, Password) = tuple(Record)
    Name = self.ent_Name.get()
    TrainerID = self.ent_TrainerID.get()
    Postcode = self.ent_Postcode.get()
    Age = self.ent_Age.get()
    Gender = self.ent_Gender.get()
    Password = self.ent_Password.get()
    List = [Name, TrainerID, Postcode, Age, Gender, Password]
    self.cur.execute("UPDATE Trainers SET Name=?, TrainerID=?, Postcode=?,Age,=? Gender=?, Password=?",((Name,) (TrainerID,) (Postcode,) (Age,) (Gender,) (Password,)))
This is the error:
File "E:\Program\TrainerAccounts.py", line 194, in Update
    self.cur.execute("UPDATE Trainers SET Name=?, TrainerID=?, Postcode=?,Age,=? Gender=?, Password=?",((Name,) (TrainerID,) (Postcode,) (Age,) (Gender,) (Password,)))
TypeError: 'tuple' object is not callable
 
    