How can I import an image in Python Turtle?

前端 未结 5 1856
时光说笑
时光说笑 2021-01-24 10:47

What I want, is to get an image to replace the default turtle, just like it is done here: http://blog.trinket.io/using-images-in-turtle-programs/ .

This is my code, but

5条回答
  •  死守一世寂寞
    2021-01-24 11:28

    I'm not sure but I think on Windows ,the paths will be like this: "C:\Python2\Pythonprogramming\image.png" Also , what error does it raise exactly?

提交回复
热议问题