How send ping (python)

I want to send ping. What am I doing wrong?

import subprocess'ping -n 3', shell = True)

Error :
/bin/sh: 1: ping: not found

You are viewing a single comment. View All

do you think this is a bug? It can be blocked, so as not to create a kind of botnet. I would like to hear those who know for sure.