On 06 Nov 2003 1:49, Welko wrote:
> feedback. Can somebody tell me why these two programs have different output? I
Hello all,
I found the answer myself. The problem was that I don't read the pipe in the
same way as in C. If I do it this way:
import os
def main():
f = os.popen('mencoder -dvd 1 -chapter 1-1 -ovc copy -oac copy -o delme.avi
2>&1')
line = None
while line != '':
line = f.read(1024)
print line
f.close()
return
main()
than everything works.
Have a nice day - Velko
--
If a packet hits a pocket on a socket on a port
and the bus is interrupted as a very last resort
and the memory address makes your processes abort
then the socket packet pocket has an error to report!
- Anonymous
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/