3
如何使用乌龟图像将图像添加到我的Turtle Screen
?将图像添加到乌龟屏幕
每当我使用该功能addshape
我不断收到错误。
乌龟图形有任何其他方式加载/导入图像?
例如:
import turtle
screen = turtle.Screen()
image = r"C:\Users\myUser\Desktop\Python\rocketship.png"
screen.addshape(image)
turtle.shape(image)