I am parsing the ip address in command line. But i don't know how to write the script to check a ip address is alive or not.
I don't know how write for linux & windows platform as well
Sample:
python testIP.py 10.1.1.1
Output should return: true(success)
or false(fail)