Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
315 views
in Technique[技术] by (71.8m points)

python - 有没有办法在tkinter画布上用python制作时钟? [关闭](Is there a way to make a clock in python on a tkinter canvas? [closed])

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...