title: SendKeys for Python 3.1 on Windows
body: <p>The latest Python Sendkeys module is for Python 2.6. I can't upgrade it myself as it needs the C module to be recompiled.</p>
  
  <p>Does anyone know of a fairly easy alternative way to send keys to a window?</p>
  
  <p>Using win32ui.FindWindow() I can find the right window, then make it active with PyCWnd.SetActiveWindow(), so all that's needed is a simple way to send keystrokes to the active window.</p>
  
  <p>The purpose is to execute a menu item.</p>
  
  <p>The app was written in Delphi, and doesn't have any inter-process interface that I know about.</p>