随笔分类 -  python-excel

摘要:python学习笔记-day7-2-【python从mysql数据库导数据到excel,读excel,修改excel】 这节说下如何用python把数据库里的数据导出到excel里,并如何读取excel, 修必excel等操作。 一、用python把数据库里的数据导出到excel里 1、导入如下的模 阅读全文
posted @ 2019-06-03 14:06 haiqing_lv
摘要:python操作Excel的几种方式 Python对Excel的读写主要有xlrd、xlwt、xlutils、openpyxl、xlsxwriter几种。 1.xlrd主要是用来读取excel文件 ? 1 2 3 4 5 6 7 8 import xlrd data = xlrd.open_work 阅读全文
posted @ 2019-05-26 09:53 haiqing_lv 阅读(5806) 评论(0) 推荐(0)