Skip to content

Instantly share code, notes, and snippets.

@tomrockdsouza
Created May 5, 2022 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomrockdsouza/3543f4bfc002766de80f7968babeb505 to your computer and use it in GitHub Desktop.
Save tomrockdsouza/3543f4bfc002766de80f7968babeb505 to your computer and use it in GitHub Desktop.
import sqlalchemy
import sqlite3
def get_engine_conn(dbx):
return sqlalchemy.create_engine(f'sqlite:///{dbx}')
def get_conn(dbx):
return sqlite3.connect(dbx)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment