|
From: M.Wenzel <we...@gm...> - 2001-01-25 06:35:00
|
Thanks for your help, Frode. I used JTA (http://www.mud.de/se/jta/) already in other Java applications for SSH connections. It works fine in Jython, too. regards, Markus ----- Original Message ----- From: "Frode Reinsnes" <fro...@er...> To: "Markus Wenzel" <We...@gm...>; <jyt...@li...> Sent: Wednesday, January 24, 2001 9:17 AM Subject: Re: [Jython-dev] Telnet library for Jython was [(no subject)] > > Hello, > > > > where can I find module select. > > It's not in [My-Jython2.0-Dir]/Lib. > > I got an import error if I try to > > import this module. > > (I.E. it's used by module telnetlib). > > I have no problem with other Libs. > > > > thank you in advance, > > regards > > Markus > > Hi, > > I have grab the telnet lib from "The Java Telnet Applet" and make some small > modification so it be more as a library for Jython. > > Her is a example who I use it: > > >from telnet import TelnetWrapper > > telnet = TelnetWrapper("123.45.78.90") > telnet.login("loginname", "password") > result = telnet.sendLine("ls") > print result > telnet.disconnect() > > If somebody want this library send me a mail and will send it. > |