Ping Implementation in Python
Mrown
mathewbrown at fastmail.fm
Thu Dec 20 12:10:08 EST 2007
On Dec 20, 6:13 pm, "Chris Mellon" <arka... at gmail.com> wrote:
> On Dec 20, 2007 9:41 AM, Mrown <mathewbr... at fastmail.fm> wrote:
>
> > Hi,
> > I was wondering if there was a ping implementation written in
> > Python. I'd rather using a Python module that implements ping in a
> > platform/OS-independent way than rely on the underlying OS, especially
> > as every OS has a different implementation. Furthermore, if you're
> > going to ping a large number of IPs, using a module would probably be
> > a lot faster. Any ideas if such a module exists? Thanks.
>
> There's no point in having a script that pings things, especially
> large numbers of IPs. If you really want to do network scanning other
> tools for that already exist.
Thanks. Actually, I was more interested in the OS neutral part than
in pinging a large number of IPs. Instead, I want to ping a number of
IPs (under 10) in an OS/platform independent manner and take the
necessary action depending on the results. Thanks.
More information about the Python-list
mailing list