#i am trying to get value from a text box with get in a guizero but I can not do that #due to it being unsupported how can i take value from textbox
def submit():
conn =sqlite3.connect("patientH.db")
c= conn.cursor()
c.execute(" INSERT INTO Staff VALUES (staffId, dname, ward, position )",
{'staffId':staffId.get(), 'dname':dname.get(), 'ward':ward.get(), 'position':position.get()
})
conn.commit()
conn.close()
staffId.clear()
dname.clear()
ward.clear()
position.clear()
To get the input value with guizero you use input_box_name.value
Basic example of getting the input value