python鏈接mysql獲取帶列名的數據

import pymysql def data_out_sql(DB, sql): conn = pymysql.connect(host=DB['host'], port=DB['port'], user=DB['user'], passwd=DB['password'], db=DB['dbname'], charset='utf8
相關文章
相關標籤/搜索