I have a cursor in python which retrieve a row from a database:
crx5 = con.cursor()
crx5.execute('select colA, colB, colC from nr')
crx5.fetchall()
There is only 1 row and I don't know how to retrieve the column values in some variables like:
var1=colA value
var2=colB value
var3=colC value
Pleas help me!
Thanks
fetchall()and that isn't valid python syntax. Please follow some tutorials e.g. this before asking. Though they use SQLite, the concepts are comparable.