随笔分类 -  python

上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要:tornado异步请求响应速度的实例测试 阅读全文
posted @ 2019-06-11 12:51 papering 阅读(302) 评论(0) 推荐(0)
摘要:Celery - 分布式任务队列 — Celery 3.1.7 文档 https://docs.jinkan.org/docs/celery/index.html Celery - 分布式任务队列 Celery 是一个简单、灵活且可靠的,处理大量消息的分布式系统,并且提供维护这样一个系统的必需工具。 阅读全文
posted @ 2019-05-22 23:11 papering 阅读(672) 评论(1) 推荐(0)
摘要:小结: 1、 Celery如何修复Python的GIL问题https://python.freelycode.com/contribution/detail/346 最近,我重读了Glyph写的Unyielding。如果你还没有读过,那赶紧去。我将会在下文略述它的内容,但是,原文绝对值得一读。 近十 阅读全文
posted @ 2019-05-21 22:55 papering 阅读(384) 评论(1) 推荐(0)
摘要:('' or 60) 阅读全文
posted @ 2019-05-16 20:31 papering 阅读(160) 评论(0) 推荐(0)
摘要:python动态获取对象的属性和方法 (转载) - zh1164 - 博客园 https://www.cnblogs.com/zh1164/p/6031464.html 阅读全文
posted @ 2019-05-16 01:05 papering 阅读(239) 评论(0) 推荐(0)
摘要:小结: 1、 禁用 Python GC,Instagram 性能提升10% - Python - 伯乐在线 http://python.jobbole.com/87447/ 通过关闭 Python 垃圾收集(GC)机制,该机制通过收集和释放未使用的数据来回收内存,Instagram 的运行效率提高了 阅读全文
posted @ 2019-05-09 02:56 papering 阅读(543) 评论(0) 推荐(0)
摘要:[Errno 5] Input/output error 阅读全文
posted @ 2019-04-15 10:06 papering 阅读(1013) 评论(0) 推荐(0)
摘要:pika\adapters\blocking_connection.py 阅读全文
posted @ 2019-03-11 16:57 papering 阅读(289) 评论(0) 推荐(0)
摘要:Python Runtime Services — Python 3.7.2 documentation https://docs.python.org/3/library/python.html 阅读全文
posted @ 2019-03-11 15:28 papering 阅读(177) 评论(0) 推荐(0)
摘要:Concurrent Execution — Python 3.7.2 documentation https://docs.python.org/3/library/concurrency.html 阅读全文
posted @ 2019-03-11 15:25 papering 阅读(228) 评论(0) 推荐(0)
摘要:Converting Python Virtual Machine Code to C 阅读全文
posted @ 2019-03-11 12:00 papering 阅读(164) 评论(0) 推荐(0)
摘要:Python Virtual Machine 阅读全文
posted @ 2019-03-11 11:57 papering 阅读(295) 评论(0) 推荐(0)
摘要:PEP 263 -- Defining Python Source Code Encodings | Python.org https://www.python.org/dev/peps/pep-0263/ [Python]编码声明:是coding:utf-8还是coding=utf-8呢_Pyth 阅读全文
posted @ 2019-03-06 14:41 papering 阅读(758) 评论(0) 推荐(0)
摘要:这里会发现上述代码是存在内存泄露,造成的原因就是lz与ow这两个变量存在循环引用,Python 不知道按照什么样的安全次序来调用对象的 __del__() 函数,导致对象始终存活在 gc.garbage 中,造成内存泄漏。 所以如果解决内存泄露只需要解开循环引用即可 https://mp.weixi 阅读全文
posted @ 2019-03-04 15:41 papering 阅读(332) 评论(0) 推荐(0)
摘要:class BaseMiddleware: # https://github.com/django/django/blob/master/tests/utils_tests/test_decorators.py def __init__(self, get_response): self.get_r 阅读全文
posted @ 2019-03-04 12:47 papering 阅读(562) 评论(0) 推荐(0)
摘要:a_z = [i for i in map(chr, range(ord('a'), ord('z') + 1))]'''Address of var1 variable: 240ff24Address of var2 variable: 240ff08Address of var1 variable: 37814052Address of var2 variable: 37814024'''... 阅读全文
posted @ 2019-02-26 20:03 papering 阅读(246) 评论(0) 推荐(0)
摘要:import random def getWList(): return [str(i) for i in range(0, 10, 1)] + [i for i in map(chr, range(ord('A'), ord('Z') + 1))] + [i for i in map(chr, r 阅读全文
posted @ 2019-02-26 19:43 papering 阅读(435) 评论(0) 推荐(0)
摘要:bot.core.memberList {'Uin': 0, 'UserName': '@a6bd2333c4a1fc95a0c2cdfcaf114fe79109c65a657ac90c8093fd0589efe60a', 'NickName': '数据小咖', 'HeadImgUrl': '/cgi-bin/mmwebwx-bin/webwxgeticon?seq=671394782&user... 阅读全文
posted @ 2019-02-04 10:03 papering 阅读(243) 评论(0) 推荐(0)
摘要:14863.079999999998 阅读全文
posted @ 2019-01-17 19:26 papering 阅读(226) 评论(0) 推荐(0)
摘要:https://pyobjc.readthedocs.io/en/latest/ The PyObjC project aims to provide a bridge between the Python and Objective-C programming languages. The bri 阅读全文
posted @ 2019-01-17 11:16 papering 阅读(316) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页