Why Perl do But Python can't?

Michael P. Reilly arcege at shore.net
Thu Feb 3 12:31:39 EST 2000


Cameron Laird <claird at starbase.neosoft.com> wrote:
: In article <058AFBA1CD7F1621.791F88D00D532EC1.0128BF9429776D7B at lp.airnews.net>,
: I remarked:
:>In article <8737c1$76d$1 at news.cz.js.cn>, XXXX <jfzhou at 188.net> wrote:
: ^I^I^I.
: ^I^I^I.
: ^I^I^I.
:>>2:use expect mod ,but python dosn't have.
:>>
:>>is there better solution?
:>^I^I^I.
:>^I^I^I.
:>^I^I^I.
:>As best I can understand,
:>  use expect mod ,but python dosn't have.
:>refers to Expect.pm, and has no particular relation to
:>WWW, suid, sgid, or other elements of this post.
:>
:>In fact Python does have analogues to Expect.pm.  The
:>little research I've done indicates that they're not
:>well-researched.  I've been considering writing up a
: ^I^I^I.
: ^I^I^I.
: ^I^I^I.
: I made two errors in what I sent before.  The sentence immedi-
: ately above should have read
:   ... they're not well-maintained.
: Moreover, I hiccoughed, and left out a paragraph on the module
: that addresses this domain and *is* well-maintained: telnetlib
: <URL:http://www.python.org/doc/current/lib/module-telnetlib.html>
: I apologize for the confusion.

If we are talking about Expect-like functionality, then you are missing
the "pty" standard module and ExpectPy.

ExpectPy is maintained; it is available at
<URL:http://starship.python.net/crew/arcege/ExpectPy/>

The expy module is more than five years old.

  -Arcege




More information about the Python-list mailing list