I need to update my canvas but tkinter.update() says tkinter has no attribute "update". What might be the possible solution. My thanks in advance.
You need to call update on your canvas object instead of tkinter, i.e. canvas.update().
How to update the canvas in python using tkinter?