[英].gif is not responding in python
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()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.