cpython/Lib/lib-tk/tkFileDialog.py

9 lines
229 B
Python

import sys
from warnings import warnpy3k
warnpy3k("the tkFileDialog module has been renamed "
"to 'tkinter.filedialog' in Python 3.0", stacklevel=2)
import tkinter.filedialog
sys.modules[__name__] = tkinter.filedialog