I am trying out sqlalchemy and i am using this connection string to connect to my databases
engine = create_engine(\'sqlite:///C:\\\\sqlitedbs\\\\database.db\')
As others have posted, SQLAlchemy will do this automatically. I encountered this error, however, when I didn't use enough slashes!
I used SQLALCHEMY_DATABASE_URI="sqlite:///path/to/file.db" when I should have used four slashes: SQLALCHEMY_DATABASE_URI="sqlite:////path/to/file.db"
SQLALCHEMY_DATABASE_URI="sqlite:///path/to/file.db"
SQLALCHEMY_DATABASE_URI="sqlite:////path/to/file.db"