Issue 364
原文: PyCoder’s Weekly - Issue #364 尝试 Python 3 用 asyncio 来并发 REAL PYTHON video Learn how to speed up your Python 3 programs using concurrency and the asyncio module in the standard library. See step-by-step how to leverage concurrency and parallelism in your own programs, all the way to building a complete HTTP downloader example app using asyncio and aiohttp. (是也乎: 叕一则, REAL PYTHON 的嗯哼, 难道, 周刊已经被收购了? ) Python 用于拍摄黑洞照片 MIKE DRISCOLL “Scientists have used a new algorithm to take a photo of a black hole. One of the most exciting parts about it to me is that they used a lot of Python libraries to do the magic.” (是也乎: 虽然 Python 慢, 但是, 想看到黑洞, 还是靠咱… ) Django: 保持逻辑模板(和视图) BLOT.IM Solid advice! Keep your Django templates and views clean by moving application logic into model methods and model managers. 如何不停机在 Django 中重建索引 REAL PYTHON In this step-by-step Python tutorial, you’ll get a solid understanding of the limitations of Django migrations by tackling a well known problem: creating an index in Django without downtime. (是也乎: ) 在 PyCharm的 PyCon Booth 上与 Python 内容创建者们见面 JETBRAINS.COM I’ll be there, the Real Python team will be there, and so will Mike Kennedy from Talk Python, Brian Okken from Test & Code, Matt Harrison, the PyBites team, Chris Medina, and Miguel Grinberg. Be sure to stop by and say hi :) Thanks JetBrains! list.sort() 嗯哼 sorted(list) FLORIAN DAHLITZ Taking a closer look at Python’s built-in list sorting methods with regards to memory consumption and time efficiency. Nice writeup! PyCon 2019 接近售磬 PYCON.BLOGSPOT.COM Get your ticket before it’s too late :) 讨论 Discussions ...