摘要: 利用win32com处理excle,这样可以不管文件是老的xls还是新的xlsx格式,非常方便。 类的源码如下: import win32com.client as win32 class easyExcel: #初始化读取文件的部分 def __init__(self, filename=None 阅读全文
posted @ 2021-01-09 23:28 s。 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1、源码:先写一个界面出来,放需要放入的点击事件的函数 # -*- coding:utf-8 -*- import Tkinter from Tkinter import * import ExcleCount #定义点击事件 def butonck(): input_path = entry_in 阅读全文
posted @ 2021-01-09 23:16 s。 阅读(267) 评论(0) 推荐(0) 编辑