Learning tkinter - a grid problem

Sibylle Koczian nulla.epistola at web.de
Sun Dec 6 03:11:51 EST 2020


Am 05.12.2020 um 19:56 schrieb Paulo da Silva:
> Hi!
> 
> Why this example does not work?
> 
> ------------------
> from tkinter import *
> 
> root=Tk()
> root.geometry("400x200")
> S=Scrollbar(root)
> T=Text(root)
...
> mainloop()
> ---------------------
> 

Shouldn't that be

root.mainloop()

?





More information about the Python-list mailing list