Issue 373
原文: PyCoder’s Weekly - Issue #373 如果将自己的包合理发布到 PyPI REAL PYTHON video Learn how to create a Python package for your project and how to publish it to PyPI, the Python Package Repository with this step-by-step tutorial. Quickly get up to speed on everything from naming your package to configuring it using setup.py. (是也乎: 虽然教程很多, 但是, 有专用题图的不多. ) 比较Rust,Haskell,C,Python,Scala和OCaml中的相同项目 TRISTAN HUME “A rare opportunity to compare implementations of large programs that all did the same thing, written by friends I knew were highly competent, and have a fairly pure opportunity to see what difference design and language choices could make.” 走向 “Kernel Python” GLYPH LEFKOWITZ opinion “We need a newer, leaner, unburdened ‘kernel’ Python. We need to dump the whole standard library out on the floor, adding back only the smallest bits that we need, so that we can tell what is truly necessary and what’s just nice to have.” 在 Python 中用 main.py SHANE O’NEILL “The magic file main.py is called when you run your project with the -m module flag. If you code is intended to be used a module first, and command line interface second, this makes perfect sense to use. Think of it as a place we can put whatever would be in our body of our if name === “main” statement.” PyPI现在支持通过 WebAuthn 进行双因登录 PYFOUND.BLOGSPOT.COM “To further increase the security of Python package downloads, we’re adding a new beta feature to the Python Package Index: WebAuthn support for U2F compatible hardware security keys as a two-factor authentication (2FA) login security method.” PSF公布2019年董事会选举结果 TWITTER.COM/THEPSF “The 4 available seats go to: Lorena Mesa @loooorenanicole , Kushal Das @kushaldas, Marlene Mhangami @marlene_zw, and Jannis Leidel @jezdez. Congratulations to Lorena, Kushal, Marlene, and Jannis!” Python 动态编程示例 NATHAN GOLDBAUM A short introduction to the (confusingly named) concept of dynamic programming with Python. 讨论 Discussions ...