connect postgresql with python sqlalchemy

39

connect postgresql with python sqlalchemy -

from sqlalchemy import create_engine
engine = create_engine('postgresql+psycopg2://user:password@hostname/database_name')

Comments

Submit
0 Comments