MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / _image

Method _image

Python/Turtle.py:372–376  ·  view source on GitHub ↗

return an image object containing the imagedata from a gif-file named filename.

(self, filename)

Source from the content-addressed store, hash-verified

370 return img
371
372 def _image(self, filename):
373 """return an image object containing the
374 imagedata from a gif-file named filename.
375 """
376 return TK.PhotoImage(file=filename, master=self.cv)
377
378 def __init__(self, cv):
379 self.cv = cv

Callers 3

__init__Method · 0.80
register_shapeMethod · 0.80
bgpicMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected