PING Help

brian bhannah at mc.net
Fri Aug 31 20:30:15 CEST 2001


Hello
Kinda new to python here is what I am trying to do
working with windows nt a simple ping script
this is what I have.
_______________________________________________________
import os
import ping
import time
print time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(time.time()))

ip = float (raw_input(" enter ip to ping "))
from os ping, ip
_______________________________________________________
This don't work
Any help with this issue would be great
Thanks
Brian Hannah





More information about the Python-list mailing list