From: Barry Warsaw Date: Sun, 1 Nov 1998 07:13:14 +0000 (+0000) Subject: MainWindow.__init__(): Move the import of Tkinter to here so that X-Git-Tag: v1.5.2b1~243 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ade9ddb147288478748c751ea715a708a7ed2cf;p=python MainWindow.__init__(): Move the import of Tkinter to here so that command line operation is (much) faster. --- diff --git a/Tools/audiopy/audiopy b/Tools/audiopy/audiopy index 1d253625e0..005569adfd 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() #