excute the shell code in python code example Example: python execute shell command python3 yourcode.py or python yourcode.py