Ned Deily <n...@python.org> added the comment:
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." ---------- nosy: +ned.deily resolution: -> not a bug stage: -> resolved status: open -> closed type: crash -> _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39370> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com