# COMP3311 22T1 Ass2 … print num_of_movies, name of top N people with most movie directed
import sys
import psycopg2
Copyright By PowCoder代写 加微信 powcoder
# define any local helper functions here
# set up some globals
usage = “Usage: q1.py [N]”
# process command-line args
argc = len(sys.argv)
# manipulate database
db = psycopg2.connect(“dbname=imdb”)
# … add your code here …
except psycopg2.Error as err:
print(“DB error: “, err)
db.close()
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com