Created
May 5, 2022 15:34
-
-
Save tomrockdsouza/3543f4bfc002766de80f7968babeb505 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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