美丽心锁

文章
3
资源
0
加入时间
3年0月28天

用 python 代码写字

用 python代码写字最麻烦的地方就是计算坐标。使用到的是Python 的内置模块turtle(海龟)代码如下import turtle as tdef write_1024(): t.screensize(400, 400, "#fff") # t.bgpic(desk_path) # 背景图片 t.pensize(10) t.pencolor("#ff0000") t.speed(1) t.hideturtle()