Tkinter askopenfilename() won't close

前端 未结 1 606
伪装坚强ぢ
伪装坚强ぢ 2020-12-29 06:38

I\'m using the following code snippet to open a file chooser dialog box. It opens up the dialog fine, but after a file is chosen the dialog box stays open for the duration o

相关标签:
1条回答
  • 2020-12-29 06:51

    For the sake of closing this question, here is the answer:

    Call root.update() before askopenfilename()

    0 讨论(0)
提交回复
热议问题