When I run below code
import win32gui, win32ui, win32con hwnd = win32gui.FindWindow(None, "LDPlayer") if (hwnd): win32gui.ShowWindow(hwnd, win32co