ping

david brochu jr brochu121 at gmail.com
Fri Apr 14 20:04:27 EDT 2006


 Thanks,

Unfortunately substituting os.system with os.popen results in the output
being:

<open file 'ping www.google.com
', mode 'r' at 0x009C4650>
<open file 'ping www.boston.com
', mode 'r' at 0x009C4650>
<open file 'ping www.espn.com
', mode 'r' at 0x009C4650>
<open file 'ping www.redsox.com
', mode 'r' at 0x009C4650>

instead of giving me the ping stats "pinging etc etc, packets sent 4
recienved 4 etc)

Any idea around this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060414/1487152a/attachment.html>


More information about the Python-list mailing list