You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ClinicalTrialsDataProcessing/history_downloader/db_connection.py

12 lines
248 B
Python

import psycopg2 as psyco
conn = psyco.connect(dbname="aact_db", user="root", host="will-office", password="root")
curse = conn.cursor()
curse.execute("select * FROM http.responses LIMIT 100;")
print(curse.fetchall())
curse.close()
conn.close()