Rust 来解决 Python 环境管理问题->pyflow 原文: PyCoder’s Weekly - Issue #389 PyCoder

  • 191006 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 191006 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄.

  • Django 入门: 构建投资组合应用程序
    • REAL PYTHON
    • video In this course, you’ll learn the basics of creating powerful web applications with Django, a Python web framework. You’ll build a portfolio website to showcase your web development projects, complete with a fully functioning blog. (是也乎: 好象今年开始, 真蟒 已经占据主要周刊内容了… )
  • 适用于 Python 的自动格式化程序
    • KEVIN PETERS
    • • Shared by Kevin Peters An auto formatter is a tool that will format your code in a way it complies with the tool or any other standard it set. But which auto formatter should you use with Python code? (是也乎: 这种事儿叫用户选择会出人命的, 学习 golang, 及时官方钦定一个并内建才对 )
  • 用 Datadog 分布式跟踪和 APM 监视您的 Python 应用程序
    • DATADOG
    • sponsor Debug and optimize your code by tracing requests across web servers, databases, and services in your environment—and seamlessly correlate those traces with metrics and logs to troubleshoot issues. Try Datadog in your environment with a free 14-day trial → (是也乎: 非常实诚的好服务 )
  • Timsort: 从未听说过的最快排序算法
    • BRANDON SKERRITT CPython uses Timsort for sorting containers. Timsort is a fast O(n log n) stable sorting algorithm built for the real world — not constructed in academia.
  • PyPy 的新 JSON 解析器
    • PYPY STATUS BLOG PyPy has a new and faster JSON parser implementation. This post covers the design decisions that were made to develop the new and improved parser. (是也乎: 好象只有 PyPy 还在继续 Pythonic 之旅 )
  • 用 %autoreload 自动重新加载 Python 模块
    • SEBASTIAN WITOWSKI Tired of having to reload a module each time you change it? IPython’s %autoreload to the rescue!
  • 教程中不常用的 六个 Django 模板标签
    • MEDIUM.COM/@HIGHCENBURG {% for … %} {% empty %} {% endfor %} anyone? (是也乎: 为什么不常用? 原因很明显了哪 )
  • (浮点) 数字, 丫们说谎
    • GLYPH LEFKOWITZ When and why 2 + 2 = 4.00000000000000000001… (是也乎: 老爹当年一闪神, 到今反复嗯哼永不断 )
  • Python 2.7 退休倒计时:〜2.5个月
    • PYTHONCLOCK.ORG (是也乎: 放心万里长城永不倒 )

讨论

Discussions

  • 您最喜欢的 Python 库是哪个?
    • MIKE DRISCOLL Twitter discussion about everyone’s best-loved Python libraries. What’s your personal favorite? (是也乎: 只能是 this 了 )

文章,教程和嗯哼

Articles, Tutorials and Talks

  • 如何在 CPython 中实现字典
    • DATA-STRUCTURES-IN-PRACTICE.COM Learn what hash tables are, why you would use them, and how they’re used to implement dictionaries in the most popular Python interpreter: CPython. (是也乎: 其实, 就是当年 Python 源代码鉴赏的片段思考 )
  • 构建 Python 的 C 扩展模块
    • REAL PYTHON Learn how to write Python interfaces in C. Find out how to invoke C functions from within Python and build Python C extension modules. You’ll learn how to parse arguments, return values, and raise custom exceptions using the Python API. (是也乎: Cython 即安. Extension )
  • 矫正的 Adam 会好过 Adam?
    • ADRIAN ROSEBROCK “Is the Rectified Adam (RAdam) optimizer actually better than the standard Adam optimizer? According to my 24 experiments, the answer is no, typically not (but there are cases where you do want to use it instead of Adam).” (是也乎: 作者发现, 还是原版好 )
  • 用 Python zip() 函数进行并行迭代
    • REAL PYTHON How to use Python’s built-in zip() function to solve common programming problems. You’ll learn how to traverse multiple iterables in parallel and create dictionaries with just a few lines of code.
  • 2020年之后RHEL如何支持Python 2?
    • REDHAT.COM What the Py 2.x end-of-life deadline means in practice, e.g. “Just because the PSF consider Python 2 unsupported does not mean that Python 2 is unsupported within RHEL.” Also see the related discussion on Hacker News. (是也乎: 大厂也曰了, 官方不支持, 不是事儿 )
  • 从头开始使用 Python 进行主成分分析 (PCA)
    • ORAN LOONEY Derive PCA from first principles and implement a working version in Python by writing all the linear algebra code from scratch. Nice tutorial! (是也乎:

从头开始 也就是说 From Scratch 已经变成一种文体了 )

好物

Interesting Projects, Tools and Libraries, Projects & Code

📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

第3期已开课, 为期6周; 191103 按时结束, 到时再约 4py ;-)

是也乎

NN 3795