g214/data_import/import_specimen.py

15 lines
240 B
Python

import uuid
import psycopg2
G = 'host=210.77.68.250 port=5432 dbname=sanjiangyuan user=sanjiangyuan password=g214G214'
if __name__ == '__main__':
with open("specimen_gs_matched.csv") as f:
for r in f:
print r