2019年11月19日

python,adb,分别给多个设备安装多个apk文件,os.popen(); os.system; os.path.splitext(); a.split(' \t'); readlines(); append(); os.path.join(); time.sleep();

摘要: #encoding:utf-8import os,time# 查找手机设备序列号 a='adb devices'b=os.popen(a).readlines()#print(b)l=[]for sn in b: if 'device' in sn and 'List' not in sn: a=s 阅读全文

posted @ 2019-11-19 15:47 星空6 阅读(337) 评论(0) 推荐(0)

导航