Skip to content

Commit 577cb2c

Browse files
authoredOct 19, 2017
Resolve Error: "AttributeError"
fix: tk11_msgbox.py Add a line to resolve "AttributeError" : import tkinter.messagebox
1 parent 782322a commit 577cb2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎tkinterTUT/tk11_msgbox.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Youku video tutorial: http://i.youku.com/pythontutorial
55

66
import tkinter as tk
7+
import tkinter.messagebox
78

89
window = tk.Tk()
910
window.title('my window')

0 commit comments

Comments
 (0)