I have a problem running python script via host command inside the Mininet topology code. The following is my code
(net.get('h0')).cmd('sudo python arp_ping.py')
The Mininet executed without errors but it is not running the script.
Why don't you try to run it through your host via xterm.
In mininet:
xterm h0
Then (be in the right directory):
./arp_ping.py