Message360208
In Python 2, askopenfilename was in the separate tkFileDialog module:
>>> import tkFileDialog
>>> dir(tkFileDialog.askopenfilename)
['__call__', ...
https://docs.python.org/2/library/tkinter.html?highlight=tkfiledialog#tkinter-modules
"Other modules that provide Tk support include:
[...]
tkFileDialog
Common dialogs to allow the user to specify a file to open or save.
[...]
These have been renamed as well in Python 3; they were all made submodules of the new tkinter package." |
|
Date |
User |
Action |
Args |
2020-01-17 19:10:34 | ned.deily | set | recipients:
+ ned.deily, rdnielsen |
2020-01-17 19:10:34 | ned.deily | set | messageid: <1579288234.35.0.401950584185.issue39370@roundup.psfhosted.org> |
2020-01-17 19:10:34 | ned.deily | link | issue39370 messages |
2020-01-17 19:10:33 | ned.deily | create | |
|