import os
from time import sleep
def photo():
# 启动
os.system("adb shell input tap 100 100") # 坐标
sleep(7)
# 退出
os.system("adb shell input tap 100 750")
sleep(2)
if __name__ == '__main__':
total_times = 1000
times = 1
while(times <= total_times):
photo()
print(times)
times += 1