howt o open python through command prompt on mac code example Example: python how to run terminal command #By Uku Loskit import os os.system("ls -l")