PCQRSCANER/venv/Lib/site-packages/future/moves/tkinter/messagebox.py

13 lines
327 B
Python
Raw Normal View History

2019-12-22 21:51:47 +01:00
from __future__ import absolute_import
from future.utils import PY3
if PY3:
from tkinter.messagebox import *
else:
try:
from tkMessageBox import *
except ImportError:
raise ImportError('The tkMessageBox module is missing. Does your Py2 '
'installation include tkinter?')