oopen a command promtn from a python script code example Example: how to run cmd command python import subprocess subprocess.run(["ls", "-l"])