On Mon, 15 Dec 2003 09:21:53 -0500, Jp Calderone <exarkun at intarweb.us> wrote: > Perhaps more usefully, though, the "commands" module allows you to get the >output of a program as a string: > > foo = commands.getoutput("ls -al") or: lines = os.popen("ls -la", "r").readlines() Regards, Olaf -- ^D