show window in the midle of screen tkinter python code example Example: python center window import os os.environ["SDL_VIDEO_CENTERED"] = "1"