mirror of
https://github.com/python/cpython.git
synced 2025-11-08 05:39:34 +00:00
MainWindow.__init__(): Move the import of Tkinter to here so that
command line operation is (much) faster.
This commit is contained in:
parent
3febc2443c
commit
9ade9ddb14
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,6 @@ Other options are:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from Tkinter import *
|
|
||||||
import sunaudiodev
|
import sunaudiodev
|
||||||
from SUNAUDIODEV import *
|
from SUNAUDIODEV import *
|
||||||
|
|
||||||
|
|
@ -50,6 +49,7 @@ __version__ = '1.0'
|
||||||
|
|
||||||
class MainWindow:
|
class MainWindow:
|
||||||
def __init__(self, device):
|
def __init__(self, device):
|
||||||
|
from Tkinter import *
|
||||||
self.__devctl = device
|
self.__devctl = device
|
||||||
info = device.getinfo()
|
info = device.getinfo()
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue