开发者

Use python to automate interaction?

Is it possible to use python in order to automate interaction in Linux? (for example, sending "Yes" to StdInput whenever the string "Are yo开发者_StackOverflow社区u sure?" is sent to StdOutput)

Thanks.


Yes, take a look at pexpect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜