Open 23BCA282 opened 1 week ago
first import sqlite as sq then create cursor.
why you write cur.execute remove it.
first import sqlite3 as sq after use cur.execute
your data are in csv file so ,you cannot use sqlite 'execute' funtion to read the data . if you want to read the data of the csv file in pyhton you need to use the 'read' or 'readlines' function