Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3d9c31 + f71a79c commit d6dabe0Copy full SHA for d6dabe0
1 file changed
Lib/idlelib/PyShell.py
@@ -23,16 +23,6 @@
23
"Your Python may not be configured for Tk. **", file=sys.__stderr__)
24
sys.exit(1)
25
import tkinter.messagebox as tkMessageBox
26
-try:
27
- from tkinter import ttk
28
-except:
29
- root = Tk()
30
- root.withdraw()
31
- tkMessageBox.showerror("Idle Cannot Start",
32
- "Idle now requires the tkinter.ttk module from tcl/tk 8.5+.\n"
33
- + "It found tk %s and no ttk." % TkVersion,
34
- parent=root)
35
- sys.exit(1)
36
37
from idlelib.EditorWindow import EditorWindow, fixwordbreaks
38
from idlelib.FileList import FileList
0 commit comments