13 lines
302 B
13 lines
302 B
5 years ago
|
from __future__ import absolute_import
|
||
|
|
||
|
from future.utils import PY3
|
||
|
|
||
|
if PY3:
|
||
|
from tkinter.tix import *
|
||
|
else:
|
||
|
try:
|
||
|
from Tix import *
|
||
|
except ImportError:
|
||
|
raise ImportError('The Tix module is missing. Does your Py2 '
|
||
|
'installation include tkinter?')
|