calling applications from python

Jesper Olsen jolsen at
Thu Aug 9 18:28:12 CEST 2001

It is possible to call applications from a python program using, e.g.
the os.system command:

os.system("ls -l")

Is it possible to attach the output from this command to a file?
I would like to be able to read this output, instead of just sending it to


More information about the Python-list mailing list