摘要: arr = [] #arr为列表 test = ','.join([item for item in arr]) #此处需要拼接,一定要列表的拼接,如果将列表转为元组,之后变成str带入到字段处是错误的(纠结了一上午,真是臭妹妹!)sql = "insert into customer ("+tes 阅读全文
posted @ 2019-09-10 11:56 Moucong 阅读(2689) 评论(0) 推荐(0) 编辑