I would like to ask if is there a way to return to python a terminated value from terminal? For example I'm using os.system
to write this line to ubuntu terminal
cat /sys/devices/virtual/thermal/thermal_zone*/temp
to return a couple of values, and I would like to be able to access this values again in python code, is it possible?