Tkinter Keyboard Binds
Change
self.openfile()
to
self.root.after(1, self.openfile)
This moves the call to askopenfilename
into the main event loop. Having it outside the main event loop is somehow clobbering your event bindings.
Change
self.openfile()
to
self.root.after(1, self.openfile)
This moves the call to askopenfilename
into the main event loop. Having it outside the main event loop is somehow clobbering your event bindings.