Tkinkter - how can I control where the main widget appears

DoubleM mmoum at
Wed Nov 5 01:55:57 CET 2003

Given the following trivial program:

from Tkinter import *

root = Tk()
l = Label(root, text = "Hi There")

How can I control where the main window appears on the screen?  Ideally, I
would like to center it.

Thanks for your help,

More information about the Python-list mailing list