其实这个代码我这边已经整合好了,已有易语言版!!!
下面分享的仅仅只是“python”代码
先看下易语言版的界面:

“python”代码

import os
import time
b = 0
 
 
def video():
fun=os.system('adb shell input swipe 300 600 300 100') ##坐标据悉特需自己修定
time.sleep(3)
 
 
 
if __name__ == '__main__':
os.chdir("G:\\Python\\Project\\Douyin\\adb") ##切换到adb四下里索引方可自己修修改改
print("已连续不断设备称谓如下:")
os.system('adb version')
fun= os.system('adb devices')
a=input('输入次数急需滑跑的次数:')
a=int(a)
while b<a:
video() ##周而复始结构中调用函数
b=b+1
print("天职到位",b,"次")
else:
print("职分一五一十到位")
fun=os.system('adb kill-server') ##周转寿终正寝杀掉adb进程
exit()

工具打包好了,去我公众号“花花爱软件”下载哈

仅供学习,研究,易源码也备份好了。

本文地址:https://blog.csdn.net/qq_15159657/article/details/110428640