how to use os.system when running python interpreter in command prompt code example Example: python how to run terminal command #By Uku Loskit import os os.system("ls -l")