Posts by Paulo Guimarães • 51 points
1 post
-
5
votes2
answers1037
viewsA: Use "ping" on a Python site
On Linux, already inside the shell from Python 3.2.3, simply enough: : import subprocess a=subprocess.Popen("ping -c4 www.boadica.com.br", shell=True) Must work also in Windows…
pythonanswered Paulo Guimarães 51