Skip to content

Instantly share code, notes, and snippets.

View jeevankoiri10's full-sized avatar

Jeevan Koiri jeevankoiri10

View GitHub Profile
@Hamleyburger
Hamleyburger / import.py
Last active January 4, 2021 17:44
Solution for pset7 houses, CS50 2020
import sqlite3
import csv
import sys
def main():
# checking argv (that there's one and it's a csv)
if (len(sys.argv) != 2):
sys.exit("Usage: import.py file.csv")