summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-11-01 07:13:14 (GMT)
committerBarry Warsaw <barry@python.org>1998-11-01 07:13:14 (GMT)
commit9ade9ddb147288478748c751ea715a708a7ed2cf (patch)
treead5985501d7f56dde46e759e1b21ee2cf6a7f0a9 /Tools
parent3febc2443cd3360c4da0dafae26b3530d363368a (diff)
downloadcpython-9ade9ddb147288478748c751ea715a708a7ed2cf.zip
cpython-9ade9ddb147288478748c751ea715a708a7ed2cf.tar.gz
cpython-9ade9ddb147288478748c751ea715a708a7ed2cf.tar.bz2
MainWindow.__init__(): Move the import of Tkinter to here so that
command line operation is (much) faster.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/audiopy/audiopy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/audiopy/audiopy b/Tools/audiopy/audiopy
index 1d25362..005569a 100755
--- a/Tools/audiopy/audiopy
+++ b/Tools/audiopy/audiopy
@@ -37,7 +37,6 @@ Other options are:
"""
import sys
-from Tkinter import *
import sunaudiodev
from SUNAUDIODEV import *
@@ -50,6 +49,7 @@ __version__ = '1.0'
class MainWindow:
def __init__(self, device):
+ from Tkinter import *
self.__devctl = device
info = device.getinfo()
#