Re: Python or 4NT? With a question or two about popen()
From: Jaime Wyant (programmer.py_at_gmail.com)
Date: 09/13/04
- Next message: Michael Hudson: "Re: Annotatable Python docs -- now a reality !!!"
- Previous message: Michael Foord: "Re: CGI.FieldStorage to HTML"
- In reply to: Robin Siebler: "Python or 4NT? With a question or two about popen()"
- Next in thread: Thorsten Kampe: "Re: Python or 4NT? With a question or two about popen()"
- Reply: Thorsten Kampe: "Re: Python or 4NT? With a question or two about popen()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Sep 2004 07:56:21 -0500 To: python-list@python.org
At the risk of being labeled a heretic, I'm gonna suggest cygwin. In
particular, the bash shell is really well suited for running
"automated" CLI tests. Be aware though that bash syntax is really
cryptic and if you don't use it a lot, you'll find yourself thumbing
through the manual quiet a bit.
If you do decide to do bash, do a google on "advanced bash tutorial".
That ought to point you to a really nice tutorial.
HTH,
jw
On 12 Sep 2004 16:52:51 -0700, Robin Siebler
<robin.siebler@palmsource.com> wrote:
> I have a bunch of command line tests that I need to automate. I've
> run into too many bugs with the default Win2k command shell, so I need
> to either purchase 4NT or handle the logic and output processing with
> Python. I'm looking for experiences, comments, problems, etc.
>
> Also, I'm trying to figure out how to use popen(). To say that the
> documentation and expamples available for this is sparse would be the
> understatment of the century! I know that I want to use popen4() but
> what is the difference between os.popen4(), win32pipe.popen4() and
> popen2.popen4()(did I miss any?)?
>
> And how, exactly, do I *use* popen4()? I figured out how to use
> popen(), but I haven't been too successfull with popen(). A good
> example would really come in handy! I have *5* Python books and not
> one has an example for anything other than popen()!
>
> Robin L. Siebler
> Software Test Engineer
> PalmSource
> ---------------------------------------
> Homer Simpson: But every time I learn something new, it pushes out
> something old! Remember that time I took a home wine-making course and
> forgot how to drive? Marge: That's because you were drunk! Homer
> Simpson: And how!
> --
> http://mail.python.org/mailman/listinfo/python-list
>
- Next message: Michael Hudson: "Re: Annotatable Python docs -- now a reality !!!"
- Previous message: Michael Foord: "Re: CGI.FieldStorage to HTML"
- In reply to: Robin Siebler: "Python or 4NT? With a question or two about popen()"
- Next in thread: Thorsten Kampe: "Re: Python or 4NT? With a question or two about popen()"
- Reply: Thorsten Kampe: "Re: Python or 4NT? With a question or two about popen()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|