python - Tkinter does not show up -


i downloaded canopy , use tkinter , this, disabled pylab , ran program still nothing showed up. additionally, tried tkinter on jupyter , same problem.

how can make work?

here code :

import tkinter tk  screen=tk.tk() screen.title("matplot graphies") screen.geometry("500x500") 

i tried simple code see gui still nothing happens.

you need call mainloop() method @ end.

import tkinter tk  screen=tk.tk() screen.title("matplot graphies") screen.geometry("500x500") screen.mainloop() 

Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -