A little disappointed so far
Andrew Bennetts
andrew-pythonlist at puzzling.org
Sun May 18 22:07:31 EDT 2003
On Mon, May 19, 2003 at 01:27:51AM +0000, Jay O'Connor wrote:
> On Mon, 19 May 2003 02:11:54 +0100, Graham Nicholls
> <graham at rockcons.co.uk> wrote:
>
> >Running external programs.
>
> Can be done a number of ways, either using the exec family (like the
> C equivalents) or the popen family (includes support for using stdin,
> stdout between the two programs) Give me an example of what you'd
> like to do and I'll give you a short example of how to do it. It's
> pretty easy.
>
> http://www.python.org/doc/current/lib/os-process.html
> http://www.python.org/doc/current/lib/module-popen2.html
Also, don't forget:
http://www.python.org/doc/current/lib/module-commands.html
The commands module can be convenient when you simply want the output of a
command, and nothing fancy.
-Andrew.
More information about the Python-list
mailing list