blob: 628f399a35b9d201c40ece3430890ad01b513265 (
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.font import *
else:
try:
from tkFont import *
except ImportError:
raise ImportError('The tkFont module is missing. Does your Py2 '
'installation include tkinter?')
|