我目前正在学习python tkinter,并且有一个关于使用显式代码退出tkinter窗口的问题。men)men.add_cascade(label = "File",menu = submenu)
submenu.add_command(label = "quit",command = Menu.quit)#Window does not close when user clicks "quit",
我使用以下命令启动了Asterisk CLI:当我尝试使用exit或quit退出CLI时,我看到以下错误:No such command 'exit' (type 'core show help exit' for other possible commands)No such command 'quit' (type'c
我正在使用我编写的脚本自动将我的动态IP写入.txt文件,但我的问题是,当单击退出按钮时,我无法关闭对话框。to the server, the application will re-run in 10 minutes if you DO NOT close this window." buttons {"Quit", "Run again"} giving up after 600)
if yn is equal to "Quit"