Im doing a course and typed out everything the same in example is was given but keep getting error code /bin/sh: 1: ifconfigeth0: not found even though the program runs, is there anyway round this as i have searched stack overflow and there is only one response which didnt work. This is the code im getting error from

#!/usr/bin/env python

import subprocess

interface = "eth0"
new_mac = "00:11:22:33:44:88"

print("Changing Mac Address for " + interface + " To " + new_mac)

subprocess.call("ifconfig" + interface + " down", shell=True)
subprocess.call("ifconfig" + interface + " hw ether" + new_mac, shell=True)
subprocess.call("ifconfig" + interface + " up", shell=True)