Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: target::int4 as target, cost::double precision as cost from network $$, %s, %s, %s, %s ) """ #make connection between python and postgresql conn = psycopg2.connect("dbname = 'TC_area' user = 'postgres' host = 'localhost' password = 'xxxx'") cur = conn.cursor() #count rows in the table cur.execute("select count(*) from network") result = […]
↧