Why Perl do But Python can't?
Michael P. Reilly
arcege at shore.net
Thu Feb 3 18:31:39 CET 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:
:>>2:use expect mod ,but python dosn't have.
:>>is there better solution?
:>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 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
: 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
The expy module is more than five years old.
More information about the Python-list