# https://www.globalsino.com/ICs/ # Search a window import win32gui as wg # Find the window by title title = 'DigitalMicrograph' hwnd = wg.FindWindow(None, title) print(hwnd)