Can I do it using python?? about xterm and telnet

faulkner faulkner612 at comcast.net
Sun Jul 2 10:47:42 EDT 2006


try pexpect.
http://pexpect.sourceforge.net/

valpa wrote:
> I'm a net admin for about 20 unix servers, and I need to frequently
> telnet on to them and configure them.
> It is a tiring job to open a xterm and telnet, username, password to
> each server.
>
> Can I  do it automatically by python? After that, there have 20 xterm
> consoles opened and telneted to their corresponding servers. Then I
> could start to type command in these xterms.
> 
> Any suggestion appreciate. Much thanks.




More information about the Python-list mailing list