I am writing some python code that initially opens a TKinter window, when this is closed it should and does open a Pygame window. You can prompt the opening of another TKinter window alongside the Pygame one. When this second Tkinter window opens, the Pygame window does not "pause" as intended. threading.Thread(target=settings_).start() #the above fixes the crashes but I need the Pygame window to pause hence below code #settings_() is_open = "yes" while is_open == "yes": f = open("is_settings_open.txt", "r") is_open = str((f.read())) pygame.time.delay(10) # causes same issue Continue reading...