How do I redirect stdout to a file when using subprocess.call in python?
<p>I'm calling a python script (B) from another python script (A).</p>

<p>Using subprocess.call, how do I redirect the stdout of B to a file that specify?</p>

<p>I'm using python 2.6.1.</p>
