04 2021 档案

摘要:# 清除文本框 self.textEdit_detail.clear() # 清楚表格所有行 self.tableWidget.setRowCount(0) self.tableWidget.clearContents() # 清除进度条 self.progressBar.reset() app.p 阅读全文
posted @ 2021-04-30 12:38 胸怀丶若谷 阅读(2390) 评论(0) 推荐(0) 编辑
摘要:result = os.path.exists(self.MailSendingStatusPath) if result == True: self.append_status_report() elif result == False: self.create_new_status_report 阅读全文
posted @ 2021-04-25 20:08 胸怀丶若谷 阅读(102) 评论(0) 推荐(0) 编辑
摘要:更改数据 from playhouse.migrate import *# SQLite example: my_db = SqliteDatabase('my_database.db') migrator = SqliteMigrator(my_db)# 使用migrate()执行一个或多个操作 阅读全文
posted @ 2021-04-24 13:32 胸怀丶若谷 阅读(302) 评论(0) 推荐(0) 编辑
摘要:模块名:peewee 安装方法: pip install peewee 官方教程:http://docs.peewee-orm.com/en/latest/ 阅读全文
posted @ 2021-04-24 12:51 胸怀丶若谷 阅读(101) 评论(0) 推荐(0) 编辑
摘要:import sysfrom ui.MainWindow import Ui_Form from PyQt5.QtWidgets import QApplication, QMainWindowclass MyMainWindow(QMainWindow, Ui_Form): def __init_ 阅读全文
posted @ 2021-04-23 19:32 胸怀丶若谷 阅读(229) 评论(0) 推荐(0) 编辑
摘要:解决方案如下: 1. 运行如下代码,找到文件所在位置 from win32com.client.gencache import EnsureDispatch import sys xl = EnsureDispatch("Word.Application") print(sys.modules[xl 阅读全文
posted @ 2021-04-13 17:46 胸怀丶若谷 阅读(1604) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示