How to close the Database connection defined in another function in current function

前端 未结 0 417
醉酒成梦
醉酒成梦 2021-02-13 13:30

\'\'\' def Database_connection(): try: # PostgreSQL connection Postgres_connection = psycopg2.connect(user="postgres", password="password", host="127.0.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题