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 external 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 external method? Or are there other ways? Basicly I need to show that the PC is online or not. (This is only for simple checking) Does there exists Python Dicom libraries? (ie for a Dicom Ping)
Thanks, Tom