How to ping in Python?
Peter Hansen
peter at engcorp.com
Mon Dec 5 09:18:34 EST 2005
Nico Grubert wrote:
> I could not find any "ping" Class or Handler in python (2.3.5) to ping a
> machine.
> I just need to "ping" a machine to see if its answering. What's the best
> way to do it?
Either use something like os.system() to call the ping executable, or
try using Google (e.g. "python ping" would have produced apparently
useful results for you).
-Peter
More information about the Python-list
mailing list