摘要: pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. 上官瑾文 2018-07-26 14:57:3 阅读全文
posted @ 2020-02-03 23:21 知一以天 阅读(459) 评论(0) 推荐(0) 编辑
摘要: import tkinter import time import threading from tkinter import ttk event = threading.Event() once=0 def start(): global once if once==1: # event.set( 阅读全文
posted @ 2020-02-03 14:50 知一以天 阅读(1612) 评论(0) 推荐(0) 编辑
摘要: tkinter界面卡死的解决办法 1、如果点击按钮,运行了一个比较耗时的操作,那么界面会卡死 import tkinter as tk import time def onclick(text, i): time.sleep(3) text.insert(tk.END, '按了第{}个按钮\n'.f 阅读全文
posted @ 2020-02-03 12:31 知一以天 阅读(559) 评论(1) 推荐(0) 编辑