1 Star 0 Fork 3

lxtong/TestPlatformByYangLiang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
monitor_main.py 770 Bytes
一键复制 编辑 原始数据 按行查看 历史
yangliang 提交于 2022-06-03 18:10 . 更新
import multiprocessing
import os
import sys
import threading
from monitor.data_storage.excel_handle import write_in
from monitor.dynamic_exhibition.draw_picture import start_monitor
from variable import write_thread_pool
if __name__ == '__main__':
# write_thread_pool.submit(write_in, sys.argv[1], int(sys.argv[2]))
# start_monitor(sys.argv[1])
os.system("adb connect 127.0.0.1:62001")
multiprocessing.Process(target=os.system, args=("adb shell monkey -p tv.danmaku.bili --throttle 600 1000",)).start()
# threading.Thread(target=write_in, args=("tv.danmaku.bili", 600)).start()
multiprocessing.Process(target=write_in, args=("tv.danmaku.bili", 600)).start()
start_monitor("tv.danmaku.bili")
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wftong/TestPlatformByYangLiang.git
git@gitee.com:wftong/TestPlatformByYangLiang.git
wftong
TestPlatformByYangLiang
TestPlatformByYangLiang
master

搜索帮助