Instead of os.popen or subprocess to execute SINGLE DOS COMMAND to capture
back its output in python...
Is there anyway I can capture the intermid results simultaneously that
appears in DOS?

Eg:
import os
x = os.popen('ping 127.0.0.1').read()
print x

This print the entire output of PING. But I would like to receive the
RESULTS line by line when PING send out to DOS. Is it possible?
-- 
View this message in context: 
http://www.nabble.com/Emulate-WIN-DOS-Capture-results-live%2C-How-to-achive--tp23129514p23129514.html
Sent from the PyQt mailing list archive at Nabble.com.

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to