Python or 4NT? With a question or two about popen()

Jaime Wyant programmer.py at gmail.com
Mon Sep 13 14:56:21 CEST 2004


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 at 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
>



More information about the Python-list mailing list