how clear everything on canvas in tkinter
# Clear Everything in Tkinter Canvas
canvas.delete("all")
how clear everything on canvas in tkinter
# Clear Everything in Tkinter Canvas
canvas.delete("all")
tkinter canvas remove
from Tkinter import *
a = Tk()
canvas = Canvas(a, width = 500, height = 500)
canvas.pack()
myrect = canvas.create_rectangle(0,0,100,100)
canvas.delete(myrect) #Deletes the rectangle
clearing canvas tkinter
canvas.delete("all")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us