jeudi 14 janvier 2016

Python SQLite3 fetch raw?

        cur.execute('SELECT Balance FROM accounts')
    print(cur.fetchone())

That outputs: (0,) instead of what I want.. simply 0

Any help is very much appreciated!

Aucun commentaire:

Enregistrer un commentaire