Starting DbManager
This commit is contained in:
parent
5ed1bfc2cc
commit
603c16b0a2
1 changed files with 10 additions and 0 deletions
10
dbmanager.py
Normal file
10
dbmanager.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
import psycopg2
|
||||
|
||||
|
||||
|
||||
class DbManager(object):
|
||||
|
||||
def __init__(self,db_uri):
|
||||
self.db_uri=db_uri
|
||||
self.conn=psycopg2.connect(db_uri)
|
||||
|
Loading…
Reference in a new issue