How do I ping a website or IP address with Python?
Most simple answer is:
import os os.system("ping google.com")