title: How to get a list of the name of every open window?
body: <p>How do I get a list of the name/text of all opened windows?</p>
  
  <p>I tried pywinauto:</p>
  
  <p><code>pywinauto.findwindows.find_windows(title_re="*")</code>
  but using <code>*</code> as a regex raises an error</p>
  
  <p>I tried win32gui:
  It has</p>
  
  <p><code>win32gui.GetWindowText(win32gui.GetForegroundWindow())</code></p>
  
  <p>But in its docs I couldn't find a getAllWindows or something that returns all names/texts of open hwnd handles:
  <a href="http://timgolden.me.uk/pywin32-docs/contents.html" rel="noreferrer">http://timgolden.me.uk/pywin32-docs/contents.html</a></p>