how to make your python tkinter app open in the middle code example Example: python center window import os os.environ["SDL_VIDEO_CENTERED"] = "1"