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