After accessing the database and having the desired query in case:
...
c = conn.cursor()
c.execute('SELECT 'tb1'.'Nome', 'tb1'.'Apelido' FROM tb1')
How do I create a python dictionary for my above command?
dict = {Nome:'Apelido'} ...
?
After accessing the database and having the desired query in case:
...
c = conn.cursor()
c.execute('SELECT 'tb1'.'Nome', 'tb1'.'Apelido' FROM tb1')
How do I create a python dictionary for my above command?
dict = {Nome:'Apelido'} ...
?