fexpectExtension of Fabric for handling prompts with pexpect | |
Download |
fexpect Ranking & Summary
Advertisement
- License:
- Other/Proprietary Li...
- Price:
- FREE
- Publisher Name:
- Jasper van den Bosch
- Publisher web site:
- http://ilogue.com
fexpect Tags
fexpect Description
fexpect is a Fabric extension for handling prompts with pexpect scripts.Provisional documentation in these blogposts:- http://ilogue.com/jasper/blog/fexpect--dealing-with-prompts-in-fabric-with-pexpect/- http://ilogue.com/jasper/blog/improved-fexpect-now-on-pypi/Usagefrom ilogue.fexpect import expect, expecting, runprompts = []prompts += expect('What is your name?','Jasper')prompts += expect('Where do you live?','Frankfurt')with expecting(prompts): run('command')You can use the included fabfile.py to run the fexpect tests:fab test -p 'yourlocalpassword'Product's homepage
fexpect Related Software