python讀取列表中的元素並插入MySQL數據庫

列表的數據項不須要具備相同的類型 List=[1,2,3,4,5,6,7] print(List[1:5])  輸出結果爲:2,3,4,5 ----------------------------------------- python讀取列表中的元素並插入MySQL數據庫 # -*- coding:utf-8 -*- import pymysql list=[20,5,'wangyan'] co
相關文章
相關標籤/搜索