Hi Experts, got ready made code for ssh to unix using python host machine is windows now when i run this its gives following error : * Traceback (most recent call last): File "C:\Python26\pexpect-2.1\pexpect-2.1\pxssh.py", line 1, in <module> from pexpect import * File "C:\Python26\pexpect-2.1\pexpect-2.1\pexpect.py", line 83, in <module> Pexpect is intended for UNIX-like operating systems.""") ImportError: No module named resource A critical module was not found. Probably this operating system does not support it. Pexpect is intended for UNIX-like operating systems. >>> ================================ RESTART ================================ >>>
Traceback (most recent call last): File "C:\Python26\ssh_session.py", line 7, in <module> from pexpect import * ImportError: No module named pexpect >>> * Can we use pexpect from windows host machine ?! -- BR Darshak Bavishi
-- http://mail.python.org/mailman/listinfo/python-list