Download .venv/Lib/site-packages/future/moves/tkinter/filedialog.py from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/future/moves/tkinter/filedialog.py
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/future/moves/tkinter/filedialog.py
-
curl -L -o filedialog.py https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/future/moves/tkinter/filedialog.py
534 Bytes
| from __future__ import absolute_import | |
| from future.utils import PY3 | |
| if PY3: | |
| from tkinter.filedialog import * | |
| else: | |
| try: | |
| from FileDialog import * | |
| except ImportError: | |
| raise ImportError('The FileDialog module is missing. Does your Py2 ' | |
| 'installation include tkinter?') | |
| try: | |
| from tkFileDialog import * | |
| except ImportError: | |
| raise ImportError('The tkFileDialog module is missing. Does your Py2 ' | |
| 'installation include tkinter?') | |