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.
精彩评论