摘要: 参考:https://www.cnblogs.com/yyds/p/7072492.html hmac.new(bytes(self.token,'utf-8'),msg=bytes(content,'utf-8'),digestmod=sha256).hexdigest() key为密钥,msg为 阅读全文
posted @ 2019-09-20 12:04 xujinjin 阅读(1271) 评论(0) 推荐(1) 编辑
摘要: ################################ 需求:yct_analysis_v1请求不同的url,odoo返回对应的处理代码 ################################ odoo https://hub.docker.com/_/odoo https:// 阅读全文
posted @ 2019-09-20 11:50 xujinjin 阅读(390) 评论(0) 推荐(1) 编辑
摘要: 在一些项目中,接口的报文是通过base64加密传输的,所以在进行接口自动化时,需要对所传的参数进行base64编码,对拿到的响应报文进行解码; str(源字符串)--str(加密后)--str(解密) Python 2 将 strings 处理为原生的 bytes 类型,而不是 unicode, P 阅读全文
posted @ 2019-09-20 11:47 xujinjin 阅读(9276) 评论(0) 推荐(1) 编辑
摘要: 人工智能: http://open.163.com/movie/2017/9/Q/S/MCTMNN3UI_MCTMNR8QS.html 01 什么是人工智能(课程介绍) 02 推理:目标树与问题求解 03 推理:目标树与基于规则的专家系统 04 搜索:深度优先、爬山、束搜索 05 搜索:最优、分支限 阅读全文
posted @ 2019-07-19 23:40 xujinjin 阅读(371) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*- import os import logging from logging.handlers import TimedRotatingFileHandler from logging.handlers import RotatingFileHandler 阅读全文
posted @ 2019-07-19 23:22 xujinjin 阅读(238) 评论(0) 推荐(0) 编辑
摘要: #################################################################### 1.下载依赖报错: pip install Twisted==18.9.0 #Running setup.py install for Twisted ... e 阅读全文
posted @ 2019-07-13 16:00 xujinjin 阅读(312) 评论(0) 推荐(0) 编辑
摘要: #################################################################### sqlite学习: 参考: https://www.liaoxuefeng.com/wiki/1016959663602400/1017801751919456 阅读全文
posted @ 2019-07-13 15:57 xujinjin 阅读(794) 评论(0) 推荐(0) 编辑
摘要: celery: 1. 参考文档: https://www.jianshu.com/p/4d0bbdbc6ade http://docs.jinkan.org/docs/celery/ 简介: celery对象+配置 在任务上加上decorator 不同的任务放入不同的队列 定义queue和route 阅读全文
posted @ 2019-07-13 15:55 xujinjin 阅读(288) 评论(1) 推荐(0) 编辑
摘要: ################################## docker参考: https://www.jianshu.com/p/09fbaa7f93a8 https://www.runoob.com/docker/docker-architecture.html http://www. 阅读全文
posted @ 2019-07-13 15:52 xujinjin 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 正向代理,截获请求 阅读全文
posted @ 2019-07-13 15:42 xujinjin 阅读(1255) 评论(0) 推荐(0) 编辑