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 ?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With