
PyQt
Atticus_Johnson
保持乐观,点滴进步
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PyQt学习笔记-打开文件并从中读取数据
打开文本文件txt,从中读取数据 @pyqtSlot() def on_menu_files_open_triggered(self): """ Slot documentation goes here. """ # TODO: not implemented yet print("打开") m...原创 2019-04-10 22:14:17 · 5052 阅读 · 0 评论 -
PyQt学习笔记-打开文件并从中读取数据(进阶篇)
一 函数功能 1 本文实现了打开 txt、word、excel 格式文件 2 读取文件内容 3 并打印到text.Browser上 二 源码 import docx from xlrd import open_workbook @pyqtSlot() def on_menu_files_open_triggered(self): ## win32com 对Python...原创 2019-04-11 23:57:55 · 5236 阅读 · 0 评论