if args is None:
    return
cmdp = subprocess.Popen(args, shell=True, stdout=subprocess.PIPE, stderr=
    subprocess.PIPE)
self.__output, self.__error = cmdp.communicate()
How can i use Python to execute adb commands?