延迟指的是什么时间单位?
What unit of time does the delay refer to?
在 python 的标准海龟图形的 tracer(x,y) 函数中,x 表示更新次数,y 表示延迟时间,调用跟踪器确实会转的跟踪动画。比如turtle.tracer(1, 50)的调用中,50的延时指的是什么时间单位?
根据文档:
Set or return the drawing delay in milliseconds. (This is
approximately the time interval between two consecutive canvas
updates.) The longer the drawing delay, the slower the animation.
在 python 的标准海龟图形的 tracer(x,y) 函数中,x 表示更新次数,y 表示延迟时间,调用跟踪器确实会转的跟踪动画。比如turtle.tracer(1, 50)的调用中,50的延时指的是什么时间单位?
根据文档:
Set or return the drawing delay in milliseconds. (This is approximately the time interval between two consecutive canvas updates.) The longer the drawing delay, the slower the animation.