PExpect Cross-Platform Alternative

Steve Holden steve at
Thu Feb 11 20:57:39 CET 2010

Nathan Farrar wrote:
> Hello Community,
> Recently I've been automating lots of network operations tasks via
> simple python scripts.  Originally, I utilized paramiko but found that
> the module had issues working with cisco equipment.  I switched to
> pexpect and things have worked wonderfully since (I've been running this
> scripts in a Linux environment).  However, I was just tasked to get
> these scripts running in a windows environment and to my dismay very
> quickly realized that pexpect is not cross platform compatible.
> Am I stuck, or are there solutions out there?
It works pretty well under Cygwin (which also improves your Windows
scripting environment no end). Any chance you would be allowed to
install that?

Steve Holden           +1 571 484 6266   +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010
Holden Web LLC       

More information about the Python-list mailing list