我想用python分步调用adb命令,先进adb shell然后反复的执行其它命令,对python来说,怎么新建一个这样的地方给我继续输入呢?
认证0级讲师
Do this when executingimport pdb; pdb.set_trace()
import pdb; pdb.set_trace()
Do you want to use Python to execute adb and then enter commands?
What you need is the Pexpect package to complete the interaction with other applications.
Do this when executing
import pdb; pdb.set_trace()
Do you want to use Python to execute adb and then enter commands?
What you need is the Pexpect package to complete the interaction with other applications.