OS Execute command in a new shell python code example Example: python execute shell command python3 yourcode.py or python yourcode.py