Network Pinging with Python
Question: Is there a way i can ping requests of a particular website for a particular
no. of times using Python and also is there a way through which i can decide
the no . of packets of data to be send in each request ?


Answer: You can use the os module for this.

5 is the count www.examplesite.com is the site

    
    
    import os
    
    os.system("ping -c 5 www.examplesite.com")
    

Hope it helped

