原文: PyCoder’s Weekly - Issue #372 Python 预测未来4年将超越 C 和 Java ZDNET.COM “Python’s ascent continues among software developers, bolstered by its usability compared with Java and C.” (是也乎: Go 在 10年前就预测过自己将在10年以内超越 JAVA ) CPython 3.8.0b1 可用于测试 PYTHON.ORG New features include: f-string debugging, “async REPL” mode, AsyncMock in unittest.mock, async-support for unittest, math.comb added, Python embedding got better, and more. 如何用 Tweepy 制作 Python Twitter 机器人 REAL PYTHON Learn how to make a Twitter bot in Python with Tweepy, which is a package that provides a very convenient way to use the Twitter API. You can use your Twitter bot to automate all or part of your Twitter activity. (是也乎: 等等, 为什么那么多教程都在尝试向一个不存在的网站自动化收发不存在的嗯哼? ) 2019 目前 Python 打包势态 STEFANO BORINI “In this post, I will try to explain the intricate details of Python packaging. I spent the best part of my evenings in the past two months to gather as much information as possible about the problem, the current solutions, what is legacy and what is not.” Related discussion on Hacker News (是也乎: Poetry 硬广, 但是, 也揭示至今, 有关部署 Py 环境, 还是没有统一靠谱方案. ) macOS 未来版本将不包括 Python 2.7 MICHAEL TSAI The next macOS release deprecates built-in Python 2.7 and other system scripting languages, such as Ruby. The system scripting languages on macOS have always lagged behind the latest releases, for example, the macOS system Python is still on 2.7. You’ll still be able to install Python 2 or Python 3 as you would most likely anyway today. (是也乎: 虽然从来不用系统内置的 Python, 但是, 这又是一个不买新 MBP 的理由了… ) 解决 Python 编程难题 ~> 循序渐进 DONNACHA OISÍN KIDNEY “This post is a write-up of a solution to part of a programming puzzle I did yesterday. It’s a little different than the usual ‘solution + theory’ approach, though: I’m going to talk about the actual steps you’d need to take to get to the solution (i.e. what to google, what intermediate code looks like, etc.).” 为 PyTorch 编写玩具后端编译器 BRAM WASTI “This tutorial is designed as an end-to-end walkthrough detailing all that is necessary for building and integrating a compiler into PyTorch’s JIT.” 讨论 Discussions
...