Skip to content

Commit

Permalink
Resolve Error: "AttributeError"
Browse files Browse the repository at this point in the history
fix: tk11_msgbox.py

Add a line to resolve "AttributeError" : 
import tkinter.messagebox
  • Loading branch information
JNingWei authored Oct 19, 2017
1 parent 782322a commit 577cb2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tkinterTUT/tk11_msgbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Youku video tutorial: http://i.youku.com/pythontutorial

import tkinter as tk
import tkinter.messagebox

window = tk.Tk()
window.title('my window')
Expand Down

0 comments on commit 577cb2c

Please sign in to comment.