Calling external programs: ioredirection

Alex cut_me_out at hotmail.com
Wed Jun 7 10:05:18 EDT 2000


Check out os.popen.  It will let you do what you are asking with grep.
As for strings of pipes, I have never had much luck getting two-way
communication between python and a process going, but you might want to
check out the popen2 module.

Alex.



More information about the Python-list mailing list