how to use subprocess in python
#one example of a way to use subprocesses in python for kali is chanign the mac adress
#all you have to do is
import subprocess
subporcess.call("ifconfig " + example + " hw ether ")
#or for security use
subprocess.call(["ifconfig", example, "hw", "ether"])#this is safe as no one can run extra scripts