python如何分步执行adb命令
PHP中文网
PHP中文网 2017-04-18 10:23:31
0
2
739

我想用python分步调用adb命令,先进adb shell
然后反复的执行其它命令,
对python来说,怎么新建一个这样的地方给我继续输入呢?

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
洪涛

Do this when executingimport 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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!