I successfully drawn the rectangle by mouse but fail to resize that.
I've tried multiple ways using event  by calling function but fail.
New to python so struggling.
Thanks
few errors self.current = self.create_rectangle(*self.start, *self.start, width=5) should be self.canvas.create_rectangle(*self.start, *self.start, width=5)
similarly self.tag_bind should be self.canvas.tag_bind
remove self.canvas.bind("<B1-Motion>", self.on_click) and self.__init__(filename) from openFile method
Also, don't forget to import partial (from functools import partial)
Want to resize shapes(Rectangle) by cursor using Tkinter