Salida del sistema operativo Python a variable

os.popen('cat /etc/services').read()
Thoughtless Tuatara