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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -