got basic connections working
parent
3f4d73c33a
commit
c43b5dbd06
@ -0,0 +1,11 @@
|
||||
import psycopg2 as psyco
|
||||
|
||||
conn = psyco.connect(dbname="aact_db", user="access", host="localhost", password="access")
|
||||
|
||||
curse = conn.cursor()
|
||||
|
||||
curse.execute("SELECT * FROM testing")
|
||||
print(curse.fetchall())
|
||||
|
||||
curse.close()
|
||||
conn.close()
|
||||
Loading…
Reference in New Issue