On Wed, 27 Oct 2010 16:24:29 -0400
Not To Miss wrote:
> I have a question on subprocess.Popen, as shown comparably below. When I ran
> 1.py, it prints "0". I don't understand how the file is empty. Isn't it
> flushed when the file object "out" is closed? On the other hand, running
> 2.py prints co
Hi all,
I have a question on subprocess.Popen, as shown comparably below. When I ran
1.py, it prints "0". I don't understand how the file is empty. Isn't it
flushed when the file object "out" is closed? On the other hand, running
2.py prints correct value.
### 1.py ##
from subprocess