I get blank screen when i run this code.
screen=turtle.Screen()
print(screen.bgpic())
screen.setup(900, 650)
screen.bgpic("map.gif")
input()
Posting the image below
Why do you need to have input()? you can just run like this and it should show up:
import turtle
screen = turtle.Screen()
screen.setup(900, 650)
screen.bgpic("map.gif")
turtle.exitonclick()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.