Why it doesn't go ????

Panther saspurss at libero.it
Fri Jun 6 15:28:10 CEST 2003


ping.py is here, put it in where you exec script, in windows put it in
c:\python2.2
ftp://ftp.visi.com/users/mdc/ping.py

import os
fd = os.popen('python ping.py 192.168.1.4', 'r')
if fd.readline() == 'None':
 print "I'don't ping ip"

Now can you try this and help me ???
thank you




More information about the Python-list mailing list