I have this code:
cursor.execute('SELECT nom FROM productes WHERE listacompra = 1')
rows = cursor.fetchall()
for row in rows:
print(row[0])
In the SQL database, I have two rows with something like this:
id 1, nom Custard, list purc...
asked on
06.09.2017 / 17:42