Skip to content

Instantly share code, notes, and snippets.

View miniyk2012's full-sized avatar
🏠
Working from home

Thomas Young miniyk2012

🏠
Working from home
View GitHub Profile
cnt = 0
while True:
result_list = poco(name="com.tencent.mm:id/aou", type='android.widget.LinearLayout')
# 开始时等待红包
while cnt == 0:
result_list = poco(name="com.tencent.mm:id/aou", type='android.widget.LinearLayout')
if result_list:
cnt = 1
break
else:
@Kxrr
Kxrr / webdev_jianguoyun.py
Last active January 18, 2022 08:40
Webdev example for Jianguoyun
# -*- coding: utf-8 -*-
"""
* 关于坚果云的 Webdav 的配置可以参看: https://griddiary.uservoice.com/knowledgebase/articles/478287-%E5%9D%9A%E6%9E%9C%E4%BA%91-webdav-%E8%AE%BE%E7%BD%AE%E6%95%99%E7%A8%8B
* 使用前请先安装 `easywebdav` : ``pip install easywebdav``
坚果云 Webdav
============
假设有下面的坚果云目录结构