Issue 439

如何死都不用 Lambda ? 原文: PyCoder’s Weekly - Issue #439 200923 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200923 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Git 内在: 通过构建 git 来理解 NIKITA LESHENKO Master the basics of git by building your own version in Python using this creative and interactive tutorial. (是也乎: 注意 Master 已经不合适继续提及了… ) Python 练习问题: 面试准备 REAL PYTHON In this tutorial, you’ll prepare for future interviews by working through a set of Python practice problems that commonly appear in coding tests. You’ll work through the problems yourself and then compare your results with solutions developed by the Real Python team. (是也乎: 面试已经成为一门显学, 无论面试时考查的东西和实际工作中有无关系, 面试难度, 已经成为一家企业的 face 了. ) 用 NumPy 进行数组编程 CHARLES R. HARRIS ET AL In this review published in Nature and co-authored by NumPy creator Travis Oliphant, the authors explore how NumPy increasingly acts as an interoperability layer between array computation libraries like PyTorch and Tensorflow. (是也乎: 除非象 PyTorch 要用细致的矩阵控制, 否则, 还是通过 Pandas 来用 NumPy 来的自然. ) 例外当控制流程 GEORGE opinion Using exceptions as control flow is a practice typically discouraged, and for some good reasons. But is there any time when this approach makes sense? (是也乎: 简单说, 别轻易拿意外当控制用. ) CircuitPython 6.0.0 Beta 0 发布! ADAFRUIT.COM (是也乎: 兼容 Mu, 基于MicroPython, 但是, 进行了更多发展, 支持更多硬件, 专注用 Python 进行智能硬件学习. 值得一试. ) 探讨/吐糟 Discussions ...

2020-09-23 · 4 min · 1793 words · ZoomQuiet

Issue 438

低于3.6 版本的 Python 皆已 EOL 原文: PyCoder’s Weekly - Issue #438 200916 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200916 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 从Python调 C/C++ 的幕后 ANTON ZHDAN-PUSHKIN • Shared by Anton Zhdan-Pushkin Take a walk through internals of ctypes, libffi, binary extensions, and other tools that power seamless interoperability of CPython and C. (是也乎: 嗯哼, 允许自我推荐的? 不过, 这个漫画风格是喜欢的. ) Python 中的面向数据的编程 BRIAN KIHOON LEE Python’s success in scientific and numerical computing is based largely on the performance of libraries like NumPy and SciPy. What is is that makes NumPy so effective, and where is numerical Python is headed in the future? (是也乎: 面向数据编程, 嗯哼, 18年前, Limodou 在 PyCon中国大会上就提出过, 其实, 所有编程语言, 本质上都是这个实践行为; 只是有的语言将这个思想融合到了自身,比如说 LISP; 有的只能通过各种模块来融合. ) 用 conda-pack 收缩您的 Conda Docker 映像 ITAMAR TURNER-TRAURING If you’re building a Docker image that’s based on Conda, the resulting images can be huge. Learn one way to do shrink image sizes, by combining the conda-pack tool with multi-stage builds. (是也乎: 甩干技巧. ) The Real Python Podcast – Episode #26: 与Michael Kennedy 一起 Python 播客的5年: 成长/GIL/异步等 REAL PYTHON podcast Why is Python pulling in so many new programmers? Maybe some of that growth is from Python being a full-spectrum language. This week on the show we have Michael Kennedy, the host of the podcast “Talk Python to Me”. Michael reflects on five years of podcasting about Python, and many of the changes he has seen in the Python landscape. (是也乎: ) pip 可用性调查 PYTHON SOFTWARE FOUNDATION (是也乎: 这个问卷大家都应该积极嗯哼一下, 光是加速墙内 pip 镜像群, 就值得嗯哼了.. ) Python 101 第二版发布 MIKE DRISCOLL seaborn 0.11.0 现已发布 PYDATA.ORG (是也乎: seaborn 好同志, 是 matplotlib 的专用形象设计师, 真爱. ) 所有低于3.6的Python版本现已 EOL PYTHON.ORG (是也乎: End of Life (EOL) release cycle is frozen; no further changes can be pushed to it. 嗯哼? 俺比较好奇的是 Łukasz 怎么念? ) 探讨/吐糟 Discussions ...

2020-09-16 · 4 min · 1837 words · ZoomQuiet

Issue 437

探索 Python 在太空探索中的作用 原文: PyCoder’s Weekly - Issue #437 200909 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200909 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 探索 Python 在太空探索中的作用 MICROSOFT In this learning path from Microsoft, you’ll get an introduction to Python, and be inspired to learn, discover, and create using Python-based data science and machine learning to help generate knowledge about the world beyond Earth. (是也乎: 一门语言是否有统治地位, 还得看是否经得住上天, 毕竟在外空间, 硬盘都随时有字节被反转的可能, 所以, 对应运行时的容错能力就非常重要了… ) 一个 Bash 命令开始新的一天 DOAA MAHELY When faced with the repetitive task of opening the same browser tabs, the same code IDE, and starting the same local server to start her workday, one resourceful Pythonista wrote a Python script to simplify her morning routine. (是也乎: 将 Py 脚本注入 Bash … 更多乐趣, 更难迁移… ) 适用于 Python 的“结构模式匹配”/第2部分 JAKE EDGE The saga of PEP 622 continues with updates to the proposed structure of the match statement—which has some similarities to a switch statement—and a discussion on the best way to document objections to a PEP. Python 反应式编程简介 ROMAIN PICARD Learn how to write event-driven code using the RxPY library, which is the Python implementation of the ReactiveX framework. (是也乎: Reactive Programming with Python 已经有对应图书出版了: 简单说, 现在我们的应用, 可以不依赖用户行为触发了, 而可以主动根据更多条件主动响应各种状态变化来行动; 可以说是 IFTTT 的语言/框架化. 或是说, 函式编程的泛化? ) 聪明测试 不难 LUKE PLANT The more tests a project has, the better, right? Well, maybe not! Python 3.5.10 现在可用 PYTHON.ORG This could be the last release for 3.5! (是也乎: 嗯哼? 刚刚老爹在 Twitter 赞了 3.8.X ,怎么这儿才 3.5.10 ? ) Real Python 视频字幕现在可用 REAL PYTHON (是也乎: 也就是说, 可以玩弹幕了? ) 探讨/吐糟 Discussions ...

2020-09-09 · 5 min · 2079 words · ZoomQuiet

Issue 436

请写更多惯用 Pythonic 代码 原文: PyCoder’s Weekly - Issue #436 200902 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200902 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 增强算术分配展开 BRETT CANNON Augmented arithmetic assignment happen whenever you do a bit of arithmetic while also assigning a value, such as a += 1. Learn how this assignment works under the hood and how the discovery of a bug in Python lead to the conclusion that most people never use the **= operator. 通用Python数据结构 (指南) REAL PYTHON In this tutorial, you’ll learn about Python’s data structures. You’ll look at several implementations of abstract data types and learn which implementations are best for your specific use cases. (是也乎: Python 内置数据结构真的是常讲常新哪… ) Python 依赖注入 JAN GIACOMELLI • Shared by Jan Giacomelli Learn how to use dependency injection to write loosely-coupled yet highly-cohesive code. (是也乎: 一切为了 松耦合+高内聚 ) 写更多惯用 Pythonic 代码 MARTIN HEINZ • Shared by Martin Heinz Learn some of the idioms and conventions that can make your Python code more readable, effective, concise and reliable. Real Python Office Hours REAL PYTHON The Real Python Office Hours is a weekly hangout where members of Real Python get the chance to interact with each other as well as Real Python authors and video course instructors. Join us live on Wednesday mornings! (是也乎: 在线开放日, 大家可以直接和 真蟒 成员交流. ) Django 安全发行版: 3.1.1/3.0.10和2.2.16 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2020-09-02 · 4 min · 1818 words · ZoomQuiet