#so we can load up image import turtle #out setup so a screen can appear(using predefined object {screen} and setting it with a variable name so we can easily refer to it later) screen = turtle.Screen() #give variable to your image file and pathway MUST HAVE .GIF EXTENSION image = "theimagename.gif" #adding image screen.addshape(image) #making our turtle image! making our turtle objects value the image turtle.shape(image) #optional so that the screen stays for longer! screen.exitonclick()
Read more of this post
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.