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

2014-01-22 Thread lei yang
thanks, it works for me Lei On Wed, Jan 22, 2014 at 10:35 PM, eryksun wrote: > On Wed, Jan 22, 2014 at 8:49 AM, lei yang 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'

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

2014-01-22 Thread eryksun
On Wed, Jan 22, 2014 at 8:49 AM, lei yang 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') ___ Tutor maillist - Tutor@python.org To unsubscr

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

2014-01-22 Thread lei yang
Hi expert, I want to use pexpect to send "ctrl+a+c" how should I do? self.vm_session.sendline("") how to fill ??? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinf