"eShopping" <etrade.griffi...@dsl.pipex.com> wrote
Or use the Python wrapper around expect - pyexpect???
Alan G
Installed pexpect and rewrote the code to look like this:
Now I get these errors:
Traceback (most recent call last):
File "C:\Projects\Active\Alun\US_DOE_EOR\test_poly.py", line 1,
in -toplevel-
import pexpect
File "C:\Python24\Lib\site-packages\pexpect.py", line 82, in -toplevel-
raise ImportError (str(e) + """
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.
Hm .....does this mean we are snookered on Win XP?
Yes, Kent posted a mail that I assumed had gone to the list but apparently
not. pexpect only works on *nix. A shame and very odd since expect works
on Windows... You might find it works under cygwin if you have that
installed.
Sorry for the red herring,
Alan G.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor