So, I'm making an operating system based on Raspbian and Python which is for phones people build themselves using Raspberry Pi, and am trying to make a clock on the lock screen, and the whole system is on a Tkinter canvas.
(因此,我正在创建一个基于Raspbian和Python的操作系统,该操作系统适用于人们使用Raspberry Pi构建自己的电话,并试图在锁定屏幕上建立时钟,并且整个系统都在Tkinter画布上。)
However, I can't make a function that loops itself to update the clock every second. (但是,我无法创建一个自动循环以每秒更新一次时钟的函数。)
Does anyone know how to do this? (有谁知道如何做到这一点?)
ask by ringMaster translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…