其實這個代碼我這邊已經整合好了,已有易語言版!!!
下面分享的僅僅只是“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()
工具打包好了,感興趣的博友去下載哈