PyDocs

Nav

Graphical user interfaces with Tk

bgpic

turtle

function
  • bgpic(picname=None)
Set background image or return name of current backgroundimage. If picname is a filename, set the corresponding image as background. If picname is "nopic", delete background image, if present. If picname is None, return the filename of the current backgroundimage.
1 Example
>>> screen.bgpic()
'nopic'
>>> screen.bgpic("landscape.gif")
>>> screen.bgpic()
"landscape.gif"
from the Python docs
See Also
No see-alsos for turtle/bgpic
0 Notes
No notes for bgpic