On Feb 19, 2014, at 3:14 AM, Sujith S <sujith...@gmail.com> wrote: > Hi, > > I am new to programming and python. I am looking for a python script to do > ssh/telnet to a network equipment ? I know tcl/perl does this using > expect/send. > > Do we have expect available in python as well or need to use some other > method ? > > Regards > Sujith > -- > https://mail.python.org/mailman/listinfo/python-list
In addition to the other answers you've received (and noting that you are familiar with "expect"), you might want to investigate the pexpect module. Google will give you quite a long list of references to it, but you could start here: http://pexpect.readthedocs.org/en/latest/ -Bill -- https://mail.python.org/mailman/listinfo/python-list