Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For python, there's pexpect: http://pexpect.readthedocs.org/en/latest/


Something similar for Lua: http://www.tset.de/lpty/


We used to use tcl expect before discovering pexpect. Cleaner syntax, fewer false positives, nothing but good experiences with pexpect.


I used pexpect as a base technology for ShutIt:

http://ianmiell.github.io/shutit/

it really is 95% of tcl's expect functionality, much easier to debug and understand. I'm grateful it exists, and it's much under-used I think.


Nice.

I have a somewhat similar tool but it doesn't do much besides check for password expiry and do password changes.

It uses pexpect but also multiprocessing and multiprocessing.Queue. I built most of it before we started using Ansible at work, but it is still useful in those places where Ansible is clumsy.


Interesting - where is Ansible clumsy?


(just noticed this)

I was just sort of echoing your

    annoyed by the obfuscation and indirection of ...
Ansible's prime raison d'être is not remote execution but configuration management.


It was great to see ShutIt during the last Docker London!


Thanks! A previous similar talk is the first link here: https://www.youtube.com/user/ianmiell


Thanks. Good luck Shutit and 2048 scores! :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: