Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block noelmas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:a5ded63605b4df477b2060abb1cba444
### Keybase proof
I hereby claim:
* I am noelmas on github.
* I am samleon ( on keybase.
* I have a public key ASADEyh_sSrvsMBf4As-624W-5SOlqnG2ZIBViQS8UMEDQo
To claim this, I am signing this object:
#!/usr/bin/env python
# A simple Python script to convert csv files to sqlite (with type guessing)
# @author: Rufus Pollock
# Placed in the Public Domain
import csv
import sqlite3
def convert(filepath_or_fileobj, dbpath, table='data'):
if isinstance(filepath_or_fileobj, basestring):
You can’t perform that action at this time.