0

I'm currently writing an program using Flask python. But I can not connect my database with my program. I'm use Oracle for database.

import os

from sqlalchemy import create_engine

from sqlalchemy.orm import scoped_session, sessionmaker

engine = create_engine(os.getenv("DATABASE_URI"))

db = scoped_session(sessionmaker(bind=engine))

This is the code what I'm using for it, please help me to connect my database.

roganjosh
  • 11,753
  • 4
  • 29
  • 43
Bell9999
  • 21
  • 1
  • 6

0 Answers0