Pexpect is a pure Python Expect. It allows easy control of other applications.
Pexpect-U is a fork of Pexpect, a pure-Python module to control interactive programs running in a virtual terminal.
Pexpect-U is unicode-aware, and compatible with Python 3 (using distribute to run 2to3 during setup). It requires Python 2.6 or above.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.