title: What is an alternative to win32gui in python 2.7 for mac
body: <p>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)</p>
  
  <p>what is equivalent lib in python 2.7 for mac os?</p>