I am trying to get an int out of a sqlite database in python. The output I recieve is [('29',)] I need the output to be 29. I have tried
Data = Int(Data)
But I get the error: name 'Data' is not defined
Aucun commentaire:
Enregistrer un commentaire