0

How do I press Enter with pexpect? The problem is I dont know how to submit "enter"

-- Press ENTER to continue or Ctrl-C to abort. --

child.expect ('-- Press ENTER to continue or Ctrl-C to abort. --*')
child.sendline ('')
udondan
  • 52,841
  • 19
  • 186
  • 168
Tampa
  • 69,424
  • 111
  • 266
  • 409

0 Answers0