摘要: def data_sum(self, data_list): a = {} c = [] for data in data_list: for k, v in data.items... 阅读全文
posted @ 2018-07-24 11:19 殇夜00 阅读(26) 评论(0) 推荐(0)
摘要: Python 字符串Python2.6 开始,新增了一种格式化字符串的函数 str.format(),它增强了字符串格式化的功能。基本语法是通过 {} 和 : 来代替以前的 % 。format 函数可以接受不限... 阅读全文
posted @ 2018-07-20 15:49 殇夜00 阅读(11) 评论(0) 推荐(0)
摘要: # coding=utf-8def dec(a): # &#x 开头 解码 : 以 &# 或 &#x 开头的字符串叫做 NCR 字符 # 通过 py2.x下的HTMLParser 或 py3.... 阅读全文
posted @ 2018-07-20 09:54 殇夜00 阅读(219) 评论(0) 推荐(0)
摘要: Python微信库:itchathttps://www.cnblogs.com/jmmchina/p/6692149.html 阅读全文
posted @ 2018-07-17 17:10 殇夜00 阅读(14) 评论(0) 推荐(0)
摘要: 转:https://www.cnblogs.com/kongzhagen/p/6295925.html Python-Image 基本的图像处理操作,有需要的朋友可以参考下。Python 里面最常用的图像操作库是... 阅读全文
posted @ 2018-07-16 13:22 殇夜00 阅读(25) 评论(0) 推荐(0)
摘要: 转:https://www.cnblogs.com/shiluoliming/p/7611569.html Kernel_wu快速学习的实践者python3 破解 geetest(极验)的滑块验证码from s... 阅读全文
posted @ 2018-07-16 11:28 殇夜00 阅读(19) 评论(0) 推荐(0)
摘要: 转:https://www.cnblogs.com/111testing/p 在测试使用Selenium webdriver测试WEB系统的时候,用到了模拟鼠标、键盘的一些输入操作。1、鼠标的左键点击、双击、拖... 阅读全文
posted @ 2018-07-16 11:16 殇夜00 阅读(18) 评论(0) 推荐(0)
摘要: Pygame可以直接调用系统字体,或者也可以使用TTF字体。为了使用字体,先创建一个Font对象:对于系统自带的字体:my_font = pygame.font.SysFont("arial", 16)print... 阅读全文
posted @ 2018-07-14 15:43 殇夜00 阅读(23) 评论(0) 推荐(0)
摘要: 在某些情况下来说,response.text 与 response.content 都是来获取response中的数据信息,效果看起来差不多。那么response.text 和 response.content ... 阅读全文
posted @ 2018-07-14 13:35 殇夜00 阅读(15) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/79c4272c0969 阅读全文
posted @ 2018-07-13 15:51 殇夜00 阅读(12) 评论(0) 推荐(0)