在Wait method tkin中等待一秒钟

2024-04-25 11:55:37 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在用python用tkinter编写一个倒计时程序。一切工作都很完美,而root.after(1000, Counter),其中Counter是更新秒数的函数,需要超过1秒来更新另一秒数。经过大量的搜索,我得到了这个Where time is being lost after and before calling after methodBryan Oakley。你知道吗

我怎么能等一秒钟?你知道吗


Tags: and函数程序timeistkintercounterroot