I want to do subprocess.call, and get the output of the call into a string. Can I do this directly, or do I need to pipe it to a file, and then read from it?

In other words, can I somehow redirect stdout and stderr into a string?

Edit
Report