0

How do you import sql into python

I've tried 'import sqlite3' and it hasn't worked so I'm wondering if I have got something wrong or if I need to add more

31st Oct 2017, 1:30 PM
Sundapicus
4 Respuestas
31st Oct 2017, 2:25 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 2
what exactly did you do? it is available here : import sqlite3 print(sqlite3.version) >>> 2.6.0
31st Oct 2017, 1:47 PM
yuri
0
I found out what my problem was but thanks anyway. I was trying to create a table but it wouldn't work because I hadn't put 'with sqlite3.connect("quiz.db") as db: cursor = db.cursor()' thanks again
31st Oct 2017, 1:51 PM
Sundapicus
0
thx
31st Oct 2017, 2:26 PM
Sundapicus