Welcome to Dream.In.Code
Become an Expert!

Join 149,505 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,337 people online right now. Registration is fast and FREE... Join Now!




Using Pexpect in Windows platform

 
Reply to this topicStart new topic

Using Pexpect in Windows platform

ryanszeto
15 Aug, 2007 - 09:13 PM
Post #1

New D.I.C Head
*

Joined: 15 Aug, 2007
Posts: 1


My Contributions
Hi guys,

I got a whole bunch of Python codes which makes use of a module called Pexpect, in which a function called spawn is used.

The codes were run in Unix platform originally and it runs beautifully. Right now, I have to move the codes to Windows platform to run. However, I found that the Pexpect module can only be used in Unix platform.

I want to ask: Is there any version of Pexpect that can be run in Windows platform? Or is there an alternative module that is similar to Pexpect?

Thanks for your help.

Ryan
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Using Pexpect In Windows Platform
16 Aug, 2007 - 05:02 AM
Post #2

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,349



Thanked: 51 times
Dream Kudos: 25
My Contributions
Have you tried installing cygwin on the windows machine, and running the script through there?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 06:54PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month