zheng gao
Results
1
comments of
zheng gao
我尝试通过·python+adb的方式来截图 效果如下,部分黑屏现象我不确定是我电脑配置的问题还是调用adb的问题 代码如下 import os import subprocess os.system('adb connect 127.0.0.1:58526') for i in range(100): out = subprocess.Popen('adb shell screencap -p',stdout=subprocess.PIPE) out = out.stdout.read().replace(b'\r\n', b'\n') with open(str(i)+".jpg","wb") as f: #fp =...