From 9ade9ddb147288478748c751ea715a708a7ed2cf Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 1 Nov 1998 07:13:14 +0000 Subject: MainWindow.__init__(): Move the import of Tkinter to here so that command line operation is (much) faster. --- Tools/audiopy/audiopy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() # -- cgit v0.12