# COMP3311 22T1 Ass2 … print info about cast and crew for Movie
import sys
import psycopg2
Copyright By PowCoder代写 加微信 powcoder
# define any local helper functions here
# set up some globals
usage = “Usage: q3.py ‘MovieTitlePattern’ [Year]”
# 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