from sikuli.Sikuli import Screen scr = Screen() scr.wait(psc, int(timeout))