简体   繁体   English

Tkinter中的Python帮助

[英]Python-Help in Tkinter

I need some help, I am coding a Zip password Cracker.I am trying to create a gui interface for my cracker. 我需要一些帮助,我正在编码一个Zip密码Cracker.I试图为我的Cracker创建一个GUI界面。
I want to show a message box for right password if founded in password file.. 如果在密码文件中建立了密码,我想显示一个正确密码的消息框。
But, showinfo message box is not executing after clicking on crack button, while if i am printing password using print it is working.. 但是,单击破解按钮后, showinfo消息框未执行,而如果我使用print来打印密码,则该功能有效。
So, help me why showinfo message box is not executing. 因此,请帮助我为什么showinfo消息框未执行。
Here, 这里,

You cannot call Tkinter commands from any thread other than the main thread. 您不能从主线程以外的任何线程调用Tkinter命令。 Tkinter is not thread safe. Tkinter不是线程安全的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM