blob: dba93fbf259e1ff64c7dcf893de872861f9a6d8b (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from __future__ import absolute_import
from future.utils import PY3
if PY3:
from tkinter.simpledialog import *
else:
try:
from SimpleDialog import *
except ImportError:
raise ImportError('The SimpleDialog module is missing. Does your Py2 '
'installation include tkinter?')
|