how to run an Ubuntu command using python code example Example: running python script from terminal ubuntu python <filename.py>