We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我写了一个:
https://github.com/ianmiell/autopexpect
它以非常基本的形式工作。如果可以的话请贡献一下!
使用它的方式与 autoexpect 非常相似:
与 autoexpect 一样,您可能需要修改生成的脚本。
I have written one:
https://github.com/ianmiell/autopexpect
which works in very basic form. Please contribute if you can!
Use it much the same way as autoexpect:
As with autoexpect, you may need to fiddle with the produced script.
不是真的,AFAIK,但你可以使用 expy AKA Expectpy,而不是
pexpect
,如果您依赖 autoexpect 的功能。从概念上讲,没有什么阻碍实现 pyautoexpect 的方式——只是据我所知,没有人愿意花功夫去做这件事(因为我自己从来没有觉得需要 autoexpect,我并不感到惊讶;-)。Not really, AFAIK, but you could use expy AKA expectpy, rather than
pexpect
, if you depend on autoexpect's functionality. There's nothing conceptually standing in the way of implementing apyautoexpect
-- it's just that, as far as I know, nobody's taken the trouble of doing it (since I've never felt a need for autoexpect myself, I'm not really surprised;-).