Pexpect is a Python Expect-like module
Pexpect is a Python Expect-like module. Pexpect project spawns child applications, controls them, and responds to expected patterns in their output. It can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc.
It can be used to automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. It should work on any platform that supports the standard Python pty module.
Its interface was designed to be easy-to-use, so performing simple tasks is easy. It includes an ANSI/VT100 terminal screen scraping module.
Pexpect was written and tested with Python 2.1. It should work on earlier versions that have the pty module. I sometimes even manually test it with Python 1.5.2, but I can't easily run the PyUnit test framework against Python 1.5.2, so I have less confidence in Pexpect on Python 1.5.2.
Any POSIX system (UNIX) with a working pty module should be able to run Pexpect. The pty module is part of the Standard Python Library, so if you are running on a POSIX system you should have it. The pty module does not run as well on all platforms. I have taken effort to try to smooth the wrinkles out the different platforms. To learn more about the wrinkles see Bugs and Testing.
Pexpect does not currently work on the standard Windows Python(see the pty requirement); however, it seems to work fine using Cygwin. It is possible to build something like a pty for Windows, but it would have to use a different technique that I am still investigating. I know it's possible because Libes' Expect was ported to Windows. If you have any ideas or skills to contribute in this area then I would really appreciate some tips on how to approach this problem.
What's New in This Release:
This release adds a new run() function which wraps the spawn() class and can handle most of the tasks for which spawn() was used (it's like a super os.system() function), a new pxssh class which specializes spawn to handle SSH connections, buffering, and improved speed.
pty module the pty the standard does not the wrinkles this release posix system with python should work standard python used for
Download Pexpect 2.0
pymssql 0.8.0 (by Andrzej Kukula)
pymssql module provides access to MS SQL Servers from Python scripts.
It's the most efficient method of accessing MS SQL Server's
Other software in this category
apt4rpm 0.69.3 (by Richard Bos)
apt4rpm creates an apt, yum, or metadata repository from a random RPM directory.
Here are some key features of "apt4rpm":
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell