GUI_message_box_error.py 文件源码

python
阅读 15 收藏 0 点赞 0 评论 0

项目:Python-GUI-Programming-Cookbook-Second-Edition 作者: PacktPublishing 项目源码 文件源码
def _msgBox():
#     msg.showinfo('Python Message Info Box', 'A Python GUI created using tkinter:\nThe year is 2017.')  
#     msg.showwarning('Python Message Warning Box', 'A Python GUI created using tkinter:'
#                       '\nWarning: There might be a bug in this code.')
    msg.showerror('Python Message Error Box', 'A Python GUI created using tkinter:'
                  '\nError: Houston ~ we DO have a serious PROBLEM!')

# Add another Menu to the Menu Bar and an item
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号