I want to get a specific row-column element from string.
import subprocess
process = subprocess.Popen(['free','-m'],stdout=subprocess.PIPE)
out, err = process.communicate()
out = out.decode("utf-8")
print(out)
Output is :
total used free shared buff/cache available
Mem: 3854 2778 299 351 776 407
Swap: 3909 80 3829
I want to get 3rd row, 3nd column element , that is 80. How can i get that ?