SyntaxFix
Write A Post
Hire A Developer
Questions
This works also in Python 3.x and centers the window on screen:
from tkinter import * app = Tk() app.eval('tk::PlaceWindow . center') app.mainloop()