<div dir="ltr">Hi,<br>Wanting to use pexpect on windows too, I ran into wexpect.<br><a href="http://sage.math.washington.edu/home/goreckc/sage/wexpect/" target="_blank">http://sage.math.washington.edu/home/goreckc/sage/wexpect/</a><br>
I haven't given it a try yet. Does anyone have experience with that?<br>
<br>Almar<br><br><div class="gmail_quote">2008/9/13 nntpman68 <span dir="ltr"><<a href="mailto:news1234@free.fr">news1234@free.fr</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<div class="Ih2E3d"><br>
<br>
<a href="mailto:yellowblueyellow@gmail.com" target="_blank">yellowblueyellow@gmail.com</a> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sep 10, 7:01 pm, Sean DiZazzo <<a href="mailto:half.ital...@gmail.com" target="_blank">half.ital...@gmail.com</a>> wrote:<br>
</blockquote>
<br>
</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am using windows and for reason it wont let me use pexpect even tho<br>
I have CYGWIN installed<br>
<br>
<br>
I get the following error<br>
<br>
Traceback (most recent call last):<br>
File "new.py", line 1, in <module><br>
import ssh_session<br>
File "C:\Python25\lib\ssh_session.py", line 7, in <module><br>
from pexpect import *<br>
File "C:\Python25\lib\site-packages\pexpect.py", line 85, in<br>
<module><br>
support it. Pexpect is intended for UNIX-like operating<br>
systems.""")<br>
ImportError: No module named resource<br>
<br>
</blockquote>
<br></div>
You might have cygwin installed,<br>
but the error mesage sems to indicatem that you don't use cygwin's pythonm but the normal windows python,<br>
<br>
You see, that it complains about pexpcet in C:\Python25\lib\site-packages\pexpect.py<br>
<br>
<br>
<br>
just open a cygwin window:<br>
<br>
then cd to the directory containign your script and type<br>
python new.py.<br>
<br>
you should have at least another error message<br>
<br>
<br>
bye<div><div></div><div class="Wj3C7c"><br>
<br>
N<br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br></div>