
excel
peiwang245
高山仰止,景行行止,夯实每一步,努力前行。
展开
-
Python win32com 操作Excel简单方法
from win32com.client import Dispatch import win32com.client class easyExcel: """A utility to make it easier to get at Excel. Remembering to save the data is your problem,...原创 2019-09-04 18:22:00 · 10696 阅读 · 3 评论 -
python之xlrd、xlwd读写excel
Python需要读取Excel(.xls、.xlsx)时通常使用xlrd模块;如果要对其内容进行编辑的话稍稍有些麻烦,通常的做法是使用xlutils的copy模块对原文件进行复制,然后保存成新的文件。前提摘要:1.安装好xlrd,cmd命令:pip installxlrd 2.引用xlrd模块 :import xlrd1.使用xlrd模块读取Exc...原创 2019-09-05 13:58:01 · 1285 阅读 · 0 评论