摘要: RabbitMQ 关键在于消息的发布与消费、消息的路由。 在绑定(Binding)Exchange与Queue的同时,一般会指定一个binding key,可以视作Queue的name,消费者将消息发送给Exchange时,一般会指定一个routing key当binding key 与 routi 阅读全文
posted @ 2018-08-02 23:18 jec1999 阅读(116) 评论(0) 推荐(0)
摘要: 1.主要思路 1.生产者发布任务时,指定properties,告知消费者处理任务完毕之后,将结果存储到reply_to指定的Queue中,本次任务的id是correlation_id 2.消费者消费完消息,即处理完任务,将结果存储到reply_to指定的Queue中,同时指定correlation_ 阅读全文
posted @ 2018-08-02 23:13 jec1999 阅读(130) 评论(0) 推荐(0)
摘要: uiautomator2 该项目正在火热的开发中 uiautomator2 是一个可以使用Python对Android设备进行UI自动化的库。其底层基于Google uiautomator,Google提供的uiautomator库可以获取屏幕上任意一个APP的任意一个控件属性,并对其进行任意操作, 阅读全文
posted @ 2018-05-01 18:07 jec1999 阅读(3929) 评论(0) 推荐(1)
摘要: uiautomator This module is a Python wrapper of Android uiautomator testing framework. It works on Android 4.1+ simply with Android device attached via 阅读全文
posted @ 2018-05-01 16:06 jec1999 阅读(257) 评论(0) 推荐(0)
摘要: 原文:https://github.com/openatx/uiautomator2 1、安装 pip install --pre uiautomator2 #或者你可以直接从github源码安装 git clone https://github.com/openatx/uiautomator2 p 阅读全文
posted @ 2018-05-01 12:53 jec1999 阅读(1035) 评论(0) 推荐(0)
摘要: 1.安装virtualenv 2.常见命令 3.使用virtualenvwrapper管理虚拟环境 4.requirements.txt 阅读全文
posted @ 2017-11-23 20:19 jec1999 阅读(187) 评论(0) 推荐(0)
摘要: 1.安装lxml pip install lxml 2.安装twisted 1. 在https://www.lfd.uci.edu/~gohlke/pythonlibs/ twisted网站搜索twisted 2. 下载对应python版本和对应计算机平台的的twisted,如我这里就是下载Twis 阅读全文
posted @ 2017-10-31 14:50 jec1999 阅读(115) 评论(0) 推荐(0)
摘要: 知识预览 JavaScript概述 二 JavaScript的基础 三 JavaScript的对象 BOM对象 DOM对象 实例练习 js扩展 回到顶部 JavaScript概述 JavaScript的历史 1992年Nombas开发出C-minus-minus(C--)的嵌入式脚本语言(最初绑定在 阅读全文
posted @ 2017-10-28 19:54 jec1999 阅读(133) 评论(0) 推荐(0)
摘要: 1.list页面自定列显示: class PermissionConfig(sites.AryaConfig): def dabo(self, obj=None, is_header=False): if is_header: return "大波" else: return "大波-"+obj.c 阅读全文
posted @ 2017-10-28 18:17 jec1999 阅读(311) 评论(0) 推荐(0)
摘要: 1.list页面:筛选功能优化,显示choices,传condition过滤筛选项 list_filter = [ # sites.FilterOption("name",False,lambda x:x.name,lambda x:x.name),#这种配置无意义 sites.FilterOpti 阅读全文
posted @ 2017-10-28 17:39 jec1999 阅读(315) 评论(0) 推荐(0)