![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
turtle
寰( *^_^* )
俗话说得好:一个人走的快,一群人才走的远,让我们一起交流学习
展开
-
Python时钟源码
Python时钟源码原创 2022-04-06 17:28:09 · 1963 阅读 · 0 评论 -
用Python画一个时钟---简易版
既然是画时钟,那必不可少的就是turtle和datetime模块了,以上都是自带模块不需要下载首先我们让钟能悬空移动def move(distance): turtle.penup() turtle.forward(distance) turtle.pendown()再创建表针turtledef createHand(name, length): turtle.reset() move(-length * 0.01) turtle.begin_poly() turtle.f原创 2022-04-05 13:09:06 · 3217 阅读 · 2 评论