pip install pymysql. 數據庫連接. import pymysql. import logging. def connectDb(dbName): try: mysqldb = pymysql.connect(. host="127.0.0.1",.
確定! 回上一頁