[SciPy-user] execute program from withn python

Agustin Lobo scipy-user@scipy.net
Mon, 3 Feb 2003 17:27:13 +0100 (MET)


Is there any way to run a program
from within python?

I would like to run gunzip
(and other programs) and
then read in the result.
This is done within a loop, 
and beacuse of reasons
of disk space, it is not convenient
for me in theis case to run the program first for
all files and then start python.

Thanks

Agus

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo@ija.csic.es