catching results of ping on NT

Benjamin Derstine bend at realeducation.com
Tue May 11 17:09:41 EDT 1999


I'm trying to write a script that saves the results of the ping command on
NT.  I can make the ping command happen with os.system('ping...') .
However, I can't figure out how to get the results of this command into a
Python data structure.  I've studied the os and sys modules but they don't
seem to have anything that can do this.
Thanks,

Ben







More information about the Python-list mailing list