PIPE stderr
Mathieu Prevot
mathieu.prevot at ens.fr
Sat May 24 09:18:47 EDT 2008
Hi again,
I don't have the same ouptput between 1) and 2) ... what's happening ?
1)
wget http://www.youtube.com/v/A8bwZf3vXjg -O /dev/null 2> file
2)
k = Popen (["wget", "http://www.youtube.com/v/A8bwZf3vXjg", "-O", "/dev/null"],
stderr=PIPE)
print k.stderr
In the case 2) I got:
open file '<fdopen>', mode 'rb' at 0x5a608>
and I want what I get in file from 1) ... how to do this ?
Mathieu
More information about the Python-list
mailing list