Skip to content

Instantly share code, notes, and snippets.

View fweller's full-sized avatar

Flint fweller

View GitHub Profile
@fweller
fweller / excel2sql.py
Last active September 8, 2021 15:51 — forked from antiproblemist/excel2sql.py
Convert complete excel workbook to SQLite database (All Sheets)
'''
This code uses the openpyxl package for playing around with excel using Python code
to convert complete excel workbook (all sheets) to an SQLite database
The code assumes that the first row of every sheet is the column name
Every sheet is stored in a separate table
The sheet name is assigned as the table name for every sheet
'''
'''
20210908 Forked from antiproblemist/excel2sql.py