3 ms·
I used expect long ago, it was fun but a bit cumbersome. Quite recently I was working on some python that used netmiko, which is similar but more ssh-oriented.
by cobbzilla 7y ago
I used expect long ago, it was fun but a bit cumbersome.
Quite recently I was working on some python that used netmiko, which is similar but more ssh-oriented.
Having used both, I don’t know when I’d ever use expect. Maybe if there was no python available for some reason.
The developer ergonomics on netmiko are just better. It’s not anything about python vs tcl, it’s that netmiko “does more out of the box”, and expect is a bit lower-level.