« An Inside Look at the "Slammer" Worm | Main | Eclipse 3.0 M1 Released »

pexpect -- "expect" in pure Python

Pexpect is a pure Python module for spawning child applications, controlling them, and responding to expected patterns in their output. Pexpect works like Don Libes' Expect too, but for Python rather than TCL. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. (found on bbum)