python cmd exec

import os
try:
  os.system('ls')
  pass
except:
  print("Error running command")
  pass
Salo Hopeless