3 ms·
Expect is such a useful tool, I am surprised that similar functionality is not found in most scripting languages. I use the Perl Expect.pm module (https://meta
by thesuperbigfrog 6y ago
Expect is such a useful tool, I am surprised that similar functionality is not found in most scripting languages.
I use the Perl Expect.pm module (https://metacpan.org/pod/release/RGIERSIG/Expect-1.15/Expect.pod https://metacpan.org/pod/release/RGIERSIG/Expect-1.15/Expect...) since I create and maintain a lot of Perl scripts. It combines the utility of expect with the power of Perl regexes.
- monday_ 6y agoThere is [1] a pure python package for expect. It provides essentially the same interface and is incredibly useful. [1] https://pexpect.readthedocs.io/en/stable/ https://pexpect.readthedocs.io/en/stable/