pyWinAuto will work well for this. With it, you can "type" text into windows based on the window title (or window class), as well as the "click" buttons. It is pretty easy to use, and the site is very good at giving you examples of how to do what you want.
http://pywinauto.openqa.org/howto.html
Bryce source
share