import psycopg2 as psql

conn=psql.connect(
    host='localhost',
    database='test',
    user='postgres',
    password='%%%%%',
)

cur=conn.cursor()
cur.execute('''INSERT INTO person(name,country) VALUES ('joker','DC')''')
cur.execute('SELECT * FROM person')

cur.close()
conn.commit()
conn.close()
928581317fa3c423db2e64a65c2f6d6d7a5f50e6
<mask token>

<mask token>
cur.execute("INSERT INTO person(name,country) VALUES ('joker','DC')")
cur.execute('SELECT * FROM person')
cur.close()
conn.commit()
conn.close()

<mask token>
conn = psql.connect(host='localhost', database='test', user='postgres',
    password='%%%%%')
cur = conn.cursor()
cur.execute("INSERT INTO person(name,country) VALUES ('joker','DC')")
cur.execute('SELECT * FROM person')
cur.close()
conn.commit()
conn.close()

import psycopg2 as psql
conn = psql.connect(host='localhost', database='test', user='postgres',
    password='%%%%%')
cur = conn.cursor()
cur.execute("INSERT INTO person(name,country) VALUES ('joker','DC')")
cur.execute('SELECT * FROM person')
cur.close()
conn.commit()
conn.close()

import psycopg2 as psql

conn=psql.connect(
    host='localhost',
    database='test',
    user='postgres',
    password='%%%%%',
)

cur=conn.cursor()
cur.execute('''INSERT INTO person(name,country) VALUES ('joker','DC')''')
cur.execute('SELECT * FROM person')

cur.close()
conn.commit()
conn.close()