postgresql - psycopg2: re-using connection object after connection closing -
i not find way re-use connection object. after executing conn.close() still have object in memory there must way re-use it. what's best way it?
from connection class documentation:
close()
close connection (rather whenever del executed). connection unusable point forward; interfaceerror raised if operation attempted connection
Comments
Post a Comment