On 24/10/06, Will McDonald <wmcdonald@xxxxxxxxx> wrote:
Hi all, Could anyone point me in the right direction for a package that provides the 'interactive' module for Python? I need to do some SSH stuff in Python so I grabbed python-paramiko from RPMForge (as always, thanks Dag & co.). Paramiko appears to be dependent on python-crypto but the RPM doesn't require it..
Gah, ignore me ladies and gents. I'm being dense. :) [wmcdonald@willspc demos]$ cd /usr/share/doc/python-paramiko-1.6.3/demos/ [wmcdonald@willspc demos]$ ls interactive.py interactive.py [wmcdonald@willspc demos]$ python Python 2.3.4 (#1, Mar 10 2006, 06:12:09) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import interactive dir(interactive)
['__builtins__', '__doc__', '__file__', '__name__', 'has_termios', 'interactive_shell', 'posix_shell', 'socket', 'sys', 'termios', 'tty', 'windows_shell']
Will. _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos