Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

How to wipe Tkinter Canvas with Python?

Asked by Danna Sahi Jul 27, 2023 1.2K views 1 answer
Share

About this question

On drawing a shape by the below-mentioned code:

canvas.create_rectangle(10, 10, 50, 50, color= “green”)

Does Tkinter remember that it was made?

I am creating a code having one Frame making few rectangles. Then I draw a black rectangle to erase the screen, and draw few rectangles. I just draw the shape directly in the canvas, so does it stay in memory?

Your answer

1 Answer

More Python discussions