I am working on Automation part.I am running adb command via os.system("adb devices") in python.
I want to save output of command "adb devices" in variable because I want to compare device id which ever I am getting from adb devices and fastboot devices.