I'm developing an interface with Tkinter that makes use of a file dialog with tkFileDialog
.
I want to run a function immediately after the user has chosen a file from the dialog box.
With buttons, we have a command keyword from which we run a function (usually named def callback():
). Is there a similar keyword for the file dialog or askopenfilename
?