





السمعة:
شباب لماذا يحدث مشاكل في استدعاء self في دالة في الclass لما اشغل دالة في python tkinter bind
بيقوللي
Python:
tkiner_obj.bind("<BindElement>" , MyFunction)
كود:
File " MyPath\main.py ", line 879, in changePathByself
picked_ = self.ThisObject.get(self.ThisObject.curselection()[0])
^^^^^^^^^^^^^
AttributeError: 'Event' object has no attribute 'ThisObject'