ExpectPy extension, alpha release 1.6.1 
Author Message
 ExpectPy extension, alpha release 1.6.1

I have written a C extension, ExpectPy, for the Expect library, that
does not need for the Tcl library (by default).  With the exception of
the interact and exp_continue, the module is fully featured.  Some of
the expect interpreter functions can be simulated with other constructs
in python (like select), so I did not build those.  The module is
available on UNIX only.

I decided to write this because I have a Expect/Tk program to ping my
ISP so PPP stays open until the program exits.  I've been thinking for
more than a year about writing my own Expect module in Python and
replacing the program with the Python version.  (I've been more busy
with the module than the rewrite though.)  This is my first large scale
attempt at a Python extension, but it seems to work. ;)

Documentation is at < http://www.*-*-*.com/ ~arcege/python/ExpectPy/>.
I'll be packaging this doc soon.

Unfortunately I'm limited by the platforms that I can test on:
currently this has only been fully tested on Solaris 2.5 on Intel.
It's been built on both AIX 4.2.1 and RedHat Linux, but with some
problems.  The AIX issues deal with the link editor options and testing
on Linux was though a friend's machine with limited access.  The shared
library build has been tested the most.  The static python interpreter
still needs full testing.

Currently, there is only one known bug (I said known ;).  The
documentation above describes it in some detail.  But it deals with a
name conflict between my PCRE support inside Expect and other modules
with Tcl (like Tkinter).  I have a compile-time alternative for PCRE
support (TclRE) when this conflict manifests.

I've had no end of problems with using Python's makesetup outside of
the Python build area, so I chose to using GNU's autoconf.  But I will
continue to work on the makesetup solution.

What it works with:
  Python 1.4, Python 1.5, Python 1.5.1,
  Expect 5.22, Expect 5.26,
  Tcl 8.0  (for TclRE support)


<P><A HREF=" http://www.*-*-*.com/ ~arcege/python/ExpectPy/">ExpectPy
1.6.1</A> - Python adaptation of Don Libes's "Expect" library for
automation of interactive UNIX processes. (09-Aug-98)

-------- comp.lang.python.announce (moderated) --------

Python Language Home Page:   http://www.*-*-*.com/

Thu, 25 Jan 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. ExpectPy 1.7 - Expect extension for Python

2. ExpectPy 1.8.2 - Expect extension for Python

3. ExpectPy 1.8 - Expect extension for Python

4. ExpectPy 1.8 - Expect extension for Python

5. Beta release of ExpectPy 1.9

6. X-extension 1.4 and the DEC Alpha

7. NT extension for Tcl/Tk, Alpha 0.2

8. Mea 0.1/alpha : tcl namespace *extension*

9. RegularExpression plugin (alpha) for DR2 released

10. ANN: New Official Harbour Alpha Release!

11. MultiMedia Logic 0.4 Alpha Released

12. MultiMedia Logic ALPHA 0.3 is released


Powered by phpBB® Forum Software