@jianjianjianbing 楼主你好,"adb 命令的封装"例子,不知道如何改才能在 mac os 系统下运行,通过报错来找解决的方法。终端输入
$ python XXXXXXXXX/python_test/ex36.py 出现如下报错。根据 OSError: [Errno 2] No such file or directory,应该是没找到对应文件。
Traceback (most recent call last):
File "/Users/liruiyi/PycharmProjects/python_test/ex36.py", line 22, in
print(get_apk_info())
File "/Users/liruiyi/PycharmProjects/python_test/ex36.py", line 17, in get_apk_info
result = run_cmd("adb shell dumpsys activity top")
File "/Users/liruiyi/PycharmProjects/python_test/ex36.py", line 8, in run_cmd
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 390, in init
errread, errwrite)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
得先找到用 python 代替操作和获取信息的方法 --- 求教,我和 golit 处境有点像,希望入手一些自动化的东西。但是 python 只自学一部分,"python 代替操作和获取信息的方法"可以再讲的细一点么?多谢高人
关于测试方面,代码要求是哪些,代码一直是短板,网上查资料也没有好的方向,谢谢~~~
周六要加班~~~先问下会费多少
起码很多公司把招聘自动化作为标杆,但是项目情况无法支持使用自动化