Python-programmin

We are coding Python Host Checker that will test if host is up/or down, and it works on Linux only.

We need Working Internet Connection , Linux or Windows Machine and Python 3.4 . Python can be downloaded from https://www.python.org/downloads/

We are using Linux here as on Linux if ping is completed successfully it say 1, else other numbers says error. On Windows even if Pin is not successful the output is Command Completed Successfully. Also for Hacker Linux is Choice due to availability of tools.

CODE :

Copy Code above and try running it , Your Own Host Checker. Comment the results or suggesations

What Do You Think on This ? Say Here