Code:
import psycopg2
import os.path
conn = psycopg2.connect("dbname=overlapanalysis user=postgres")
cur = conn.cursor()
cur.execute("select * from annotation(5,-10000,-10000) ")
result=cur.fetchall()
for columns in result:
print (str(columns[1])+"\t"+str(columns[2])+"\t"+str(columns[3])+"\t"+str(columns[4])+"\t"+str(columns[5]));
conn.commit()
cur.close()
conn.close()
In this the picture is also upload of Out put the white spaces is to much i want only 1 Tab Space in every column.
Comment