What is an alternative to win32gui in python 2.7 for mac

时间:2015-04-23 05:41:42

标签: macos python-2.7

I am using win32gui for figuring out that a specific window has been opened or not in Windows. I want to have same functionality in mac os also. In Windows import win32gui win32gui.FindWindow(class_name, window_name)

what is equivalent lib in python 2.7 for mac os?

1 个答案:

答案 0 :(得分:1)

我找到了上述问题的解决方案

user = username
User = username