subprocess also has a ```check_output()``` method that is a nice shortcut.