]> granicus.if.org Git - python/commitdiff
MainWindow.__init__(): Move the import of Tkinter to here so that
authorBarry Warsaw <barry@python.org>
Sun, 1 Nov 1998 07:13:14 +0000 (07:13 +0000)
committerBarry Warsaw <barry@python.org>
Sun, 1 Nov 1998 07:13:14 +0000 (07:13 +0000)
command line operation is (much) faster.

Tools/audiopy/audiopy

index 1d253625e0a3b85fb41bab18d66d4111772d020f..005569adfd2c770c9a6d2147530c72981f76024f 100755 (executable)
@@ -37,7 +37,6 @@ Other options are:
 """
 
 import sys
-from Tkinter import *
 import sunaudiodev
 from SUNAUDIODEV import *
 
@@ -50,6 +49,7 @@ __version__ = '1.0'
 \f
 class MainWindow:
     def __init__(self, device):
+        from Tkinter import *
         self.__devctl = device
         info = device.getinfo()
         #