[Zope] Re: [Zope] Ping - Dicom Pīng result in Zope page

Tom Deprez Tom Deprez" <tom.deprez@uz.kuleuven.ac.be
Mon, 8 Apr 2002 15:58:39 +0200


Thanks,

I'll look into these directions.

Tom.
----- Original Message -----
From: "Casey Duncan" <casey@zope.com>
To: "Tom Deprez" <tom.deprez@uz.kuleuven.ac.be>
Cc: <zope@zope.org>
Sent: Monday, April 08, 2002 4:48 PM
Subject: Re: [Zope] Ping - Dicom Pīng result in Zope page


> You can use popen from the os module built in to Python to call externa=
l
> programs and return the result back to the program. I imagine you could
> also use the Python socket services for this as well.
>
> see: http://www.python.org/doc/current/lib/module-socket.html
>
> hth,
> -Casey
>
> Tom Deprez wrote:
> > Hi,
> >
> > I would like to show the result of a ping to an IPAddress in a zope
webpage.
> > Is there a specific python library I can use for this with an externa=
l
> > method? Or are there other ways?
> > Basicly I need to show that the PC is online or not. (This is only fo=
r
> > simple checking)
> > Does there exists Python Dicom libraries? (ie for a Dicom Ping)
> >
> > Thanks,
> > Tom
>