简体   繁体   中英

tkinter window not showing up even though its installed

hi I have my program running with 0 errors but the window from tkinter is not showing I checked if it's installed and checked my version of python can anyone let me know what else it could be?

Change window.mainloop to window.mainloop() That calls mainloop instead of just referencing it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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