摘要:
1、写一个函数,传入一个表名,把这个表里面的数据导出到excel中 def export_excel('students'): pass students.xls 思路 我的代码 import pymysql,xlwtdef export_excel(ces): host = '118.24.3.4 阅读全文
posted @ 2021-03-13 17:15
测试董先生
阅读(68)
评论(0)
推荐(0)
摘要:
写extel import xlwtbook = xlwt.Workbook()#新建一个extelsheet = book.add_sheet('students') #新建一个sheet1#sheet.write(0,0,'id')#0行0列sheet.write(0,1,'name')shee 阅读全文
posted @ 2021-03-13 16:53
测试董先生
阅读(140)
评论(0)
推荐(0)
浙公网安备 33010602011771号