11 lines
147 B
Python
11 lines
147 B
Python
|
import psycopg2
|
||
|
|
||
|
|
||
|
|
||
|
class DbManager(object):
|
||
|
|
||
|
def __init__(self,db_uri):
|
||
|
self.db_uri=db_uri
|
||
|
self.conn=psycopg2.connect(db_uri)
|
||
|
|