()
| 2 | |
| 3 | |
| 4 | def main(): |
| 5 | host = "postgres" |
| 6 | database = "postgres" |
| 7 | user = "postgres" |
| 8 | pas = "postgres" |
| 9 | conn = psycopg2.connect(host=host, database=database, user=user, password=pas) |
| 10 | # your code here |
| 11 | cur = conn.cursor() |
| 12 | |
| 13 | |
| 14 | if __name__ == "__main__": |