[Tutor] how to send "ctrl+a+c" with python

lei yang yanglei.fage at gmail.com
Wed Jan 22 17:21:00 CET 2014


thanks, it works for me

Lei



On Wed, Jan 22, 2014 at 10:35 PM, eryksun <eryksun at gmail.com> wrote:

> On Wed, Jan 22, 2014 at 8:49 AM, lei yang <yanglei.fage at gmail.com> wrote:
> >
> > I want to use pexpect to send "ctrl+a+c"
>
> What's ctrl+a+c? If this is for screen, then I think you mean ctrl+a c:
>
>     sendcontrol('a')
>     send('c')
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140123/8e533541/attachment.html>


More information about the Tutor mailing list