Issue 363
原文: PyCoder’s Weekly - Issue #363 PEP 570 (仅位参数)已被接受 PYTHON.ORG This PEP introduces a new syntax, /, for specifying positional-only parameters in Python function definitions. Looks useful for getting tighter control over how a library API can be called (i.e. preventing positional params from being called as keyword arguments). This will also allow for some function call speed optimizations in the future. (是也乎: 严格参数传输,以便优化…反正就是越来越 C++ 呗… 老爹一退休就乱来. ) 惯用式 Pandas: 你可能不知道的技巧和特征 REAL PYTHON video In this series you’ll see how to use some lesser-used but idiomatic Pandas capabilities that lend your code better readability, versatility, and speed. (是也乎: 忘记的就是不重要的 不知道的就是不必要 当然世界并不是这样 ( ̄▽ ̄) ) 用 PyCharm 成为 Python 大狮 JETBRAINS sponsor PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. Be more productive and save time while PyCharm takes care of the routine. (是也乎: 通过 IDE 变成 guru ? 喝多了… ) 本地 LRU 缓存 MOSHE ZADKA How to avoid shared global state when using the functools.lru_cache decorator from the standard library. Python 3.7 使用慢加载 INADA NAOKI CPython 3.7 has a new feature (-X importtime) for profiling import time and this article gives you a good overview on how to use this to reduce application startup time. AvantPy: 友好的追溯 ANDRÉ ROBERGE AvantPy provides friendlier Python tracebacks, translated into various languages, to help beginners learn programming. Right now the project is still in its early stages and the maintainer is looking for contributors. (是也乎: 早期…寻求志愿者… 只是, 这种追踪代码运行状态, 对于初学有什么帮助? ) 讨论 Discussions ...