vtcbca / internal-exam-23bca298

23bca-python-sqlite-internal-exam-303-PYTHON-EXAM created by GitHub Classroom
0 stars 0 forks source link

please solve this error asap #3

Open 23BCA282 opened 1 week ago

23BCA282 commented 1 week ago

image

23bca274 commented 1 week ago

first import sqlite as sq then create cursor.

23bca298 commented 1 week ago

why you write cur.execute remove it.

23bca270 commented 5 hours ago

first import sqlite3 as sq after use cur.execute

23BCA309 commented 4 hours ago

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