This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Try displaying a photo of yourself on the canvas using tkinter. | |
Make sure it’s a GIF image! Can you make it move across the | |
screen?""" | |
import time | |
from tkinter import * | |
tk = Tk() | |
w = 500 | |
h = 500 | |
canvas = Canvas(tk, width=w, height=h) |