disk I/O error with SQLite3 in Python 3 when writing to a database
问题 i am a student just starting out with python, and i was tasked with creating a relational database management system. I think i came pretty far, but i seem to have hit a wall. This is my code: import csv import sqlite3 conn = sqlite3.connect('unfccc.db') c = conn.cursor() c.execute('''CREATE TABLE unfccc ( Country TEXT, CodeCountryFormat TEXT, NamePollutant TEXT, NameYearSector TEXT, NameParent TEXT, Sector TEXT, CodeSector TEXT, CNUEDSPD TEXT )''') def insert_row(Country, CodeCountryFormat,