[python-win32] Expect-like behavior

2007-09-14 Thread Roger Upole
Tim Roberts wrote: > Roger Upole wrote: >> You may be able to use the win32console module, which wraps the native >> Windows console functions. It allows you to simulate interactive command >> prompt input and read its output as pexpect does. >> > > I'm not convinced of that. The console APIs

Re: [python-win32] Expect-like behavior

2007-09-14 Thread Tim Roberts
Roger Upole wrote: > You may be able to use the win32console module, which wraps the native > Windows console functions. It allows you to simulate interactive command > prompt input and read its output as pexpect does. > I'm not convinced of that. The console APIs let you read keystrokes and

Re: [python-win32] Expect-like behavior

2007-09-14 Thread Tim Golden
Tim Golden wrote: > I *assume* you're the same person who's already posted under > the alias "gamename" with a question which seems identical > in its essentials? If you're not then I apologise and chalk > one up to the gods of coincidence. If you are, then I would > suggest that it appears slightl

Re: [python-win32] Expect-like behavior

2007-09-14 Thread Tim Golden
Tennis Smith wrote: > I'm new to both python and consequently its use on win32. I understand > from lots of sources that "pexpect" is the overall best Expect-like > implementation in python. *But* I also see that the only way to make it > work in win32 is on cygwin. Unfortunately, that isn't an

[python-win32] Expect-like behavior

2007-09-13 Thread Tennis Smith
Hi, I'm new to both python and consequently its use on win32. I understand from lots of sources that "pexpect" is the overall best Expect-like implementation in python. *But* I also see that the only way to make it work in win32 is on cygwin. Unfortunately, that isn't an option for my users.