Python script to create a sqlite3 database of tripcodes