I'm trying to add the below code, which seems to get added, but when I go to view the database.db file, it outputs just like the image, could anyone explain how would I get the proper output from eclipse? I'm using the latest python which has sqlite3 included.
import sqlite3
db = sqlite3.connect('database.db')
db.execute('create table person (firstname text, secondname text, age int)')
Aucun commentaire:
Enregistrer un commentaire