在tkinter中怎么才能定义一个随着时间固定增加的变量呢
python吧
全部回复
仅看楼主
level 4
萧恋团^=^ 楼主
我试着用sleep也不行,难道只能获取当前时间的时候做两个时间差吗?
2023年04月11日 07点04分 1
level 4
萧恋团^=^ 楼主
用了after勉强做出来了一个。
2023年04月11日 07点04分 2
level 4
萧恋团^=^ 楼主
难道没有更好的办法了嘛
2023年04月11日 07点04分 3
level 10
给它开一个单独线程
2023年04月11日 08点04分 4
谢谢!
2023年04月11日 10点04分
level 11
私你了
2023年04月11日 08点04分 5
吧务
level 12
只有after了,时间差也是要用after,因为你控制不了主循环,非要浪费资源就多线程。
2023年04月11日 09点04分 6
感谢!
2023年04月11日 10点04分
1