Issue 387

原文: PyCoder’s Weekly - Issue #387 190925 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 190925 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 用 pdb 调试 Python REAL PYTHON video Learn the basics of using pdb, Python’s interactive source code debugger. pdb is a great tool for tracking down hard-to-find bugs, and it allows you to fix faulty code more quickly. (是也乎: 这是屠龙技,轻易用不上, 真要用上了, 也说明已经身陷焦油坑, 难以逃离了… ) H如何验证 PyPI 是否信任? BRETT CANNON “A co-worker of mine attended a technical talk about how Go’s module mirror works and he asked me whether there was something there that Python should do.” (是也乎: 这真心是件基础又忧心的事儿… 好在, 一直有标准精良自检方案 ) PSF 中的 requests 所有权已转移给新维护者 GITHUB.COM/PSF Also see the related discussion on Reddit. (是也乎: 多年媳妇, 熬成??? 叕一例… ) What’s in a Name? Tales of Python, Perl, and the GIMP SVEN GREGORI Fun read about the challenges of naming and renaming open-source projects. PyCascades 2020 CFP PAPERCALL.IO Portland The PyCascades call for proposals is open until October 1st. 讨论 Discussions ...

2019-09-25 · 4 min · 1819 words · ZoomQuiet

Issue 386

原文: PyCoder’s Weekly - Issue #386 190918 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 190918 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Call for Proposals for PyCon 2020 Is Open PYCON.BLOGSPOT.COM The submission deadlines are: Tutorial proposals are due November 22, 2019. Talk, Charlas, Poster, and Education Summit proposals are due December 20, 2019. (是也乎: 对比 PyCon China 2019 我们才开始, 人家已经面向 2020 了… 其实, 这才是应该的节奏; 不过, 今年 PyCon19中国, 扩张到6个城市, 也是世界之最了. 欢迎来嗯哼, 俺也去其中一个, 猜, 哪个? ) Python vs C++: Selecting the Right Tool for the Job REAL PYTHON Explore the similarities and differences you’ll find when comparing Python vs C++. You’ll learn about memory management, virtual machines, object-oriented programming differences, and much more. (是也乎: 其实, C++ 是创始人都在警告: 想想瓦萨号 的一种失控语言 ) PEP 603: Adding a frozenmap Type to collections PYTHON.ORG A draft PEP that proposes adding a new fully persistent and immutable mapping type called frozenmap to the collections module in the Python standard library. (是也乎: 不可变量是系统安全的基础, 可惜… ) Java Primer for Python Developers MAX MAUTNER “There are large distinctions between the two programming languages, but I’ll try to give the most notable that I encountered–as I approached Java from a Python-heavy background.” The Boring Technology Behind a One-Person Internet Company WENBING FANG The Python-powered tech stack of a one-person company (ListenNotes podcast search engine). (是也乎: 单人企业就得优先选择 无聊技术栈; 终于, Python 从 PHP 手中抢走了这一称号. ) Types for Python HTTP APIs ANIRUDH PADMARAO (INSTAGRAM) How Instagram uses types to document and enforce a contract for their Python HTTP APIs. 讨论 Discussions ...

2019-09-18 · 3 min · 1428 words · ZoomQuiet

Issue 385

原文: PyCoder’s Weekly - Issue #385 190911 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 190911 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Python 登顶 “IEEE Top Programming Languages of 2019” 排名 IEEE.ORG Python’s growth in popularity has been incredible. This list is interesting because it allows you to adjust the weights for the various factors that determine the ranking. (是也乎: 国内早已大吼了… 实在是其它语言, 对快速变化的混乱数据一直并没什么关注, 反而一直在一线和各种混乱共处的 Python 长期积累出来一堆神器. ) MATLAB vs Python: 为什么以及如何进行切换 REAL PYTHON Learn about MATLAB vs Python, why you should switch from MATLAB to Python, the packages you’ll need to make a smooth transition, and the bumps you’ll most likely encounter along the way. (是也乎: 其实很友好咯… ) 我们的类型之旅: 检验4百万行 Python 代码 DROPBOX.COM “Dropbox has been one of the first companies to adopt Python static type checking at this scale. These days thousands of projects use mypy, and things are quite battle tested.” Related discussion on Hacker News. (是也乎: Dropbox 实锤,为什么值得上类型系统… ) 跟踪自然语言处理的进展 NLPPROGRESS.COM Repository to track the progress in Natural Language Processing (NLP), including the datasets and the current state-of-the-art for the most common NLP tasks. Python *args 和 **kwargs : 揭秘 REAL PYTHON In this step-by-step tutorial, you’ll learn how to use args and kwargs in Python to add more flexibility to your functions. You’ll also take a closer look at the single and double-asterisk unpacking operators, which you can use to unpack any iterable object in Python. (是也乎: 这个插画很传神… ) 落日背影 Python 2 PYTHON.ORG PSF notes about the end of support for Python 2.x. Related discussion on Hacker News. Django 3.0 Alpha 1 发布 DJANGOPROJECT.COM Changelog here. 讨论 Discussions ...

2019-09-11 · 4 min · 1942 words · ZoomQuiet

Issue 384

原文: PyCoder’s Weekly - Issue #384 CPython 发布 3.8.0b4 PYTHON.ORG This is the last beta before 3.8 RC1. 用 Python 和 spaCy 进行自然语言处理 REAL PYTHON In this step-by-step tutorial, you’ll learn how to use spaCy. This free and open-source library for Natural Language Processing (NLP) in Python has a lot of built-in capabilities and is becoming increasingly popular for processing and analyzing data in NLP. (是也乎: 没听说过哪…嗯哼, 不支持中文… ) Python 包索引的实证分析 (PDF) ARXIV.ORG • Shared by Python Bytes FM “In this research, we provide a comprehensive empirical summary of the Python Package Repository, PyPI, including both package metadata and source code covering 178,592 packages, 1,745,744 releases, 76,997 contributors, and 156,816,750 import statements.” (是也乎: 叕一则老 FM 节目… ) 教老 Pythonista 新 Gopher 技巧 (Go vs Python) ED CREWE opinion “So in conclusion, Python may not be a Gopher Snake but for this task it does rather eat Go for breakfast.” (是也乎: 扎心了老铁… ) 添加动作到 PEG Grammar GUIDO VAN ROSSUM Part 6 of Guido’s series on PEG parsers. (是也乎: 老爹公开发话系列… ) Django Bugfix 发布版本: 2.2.5, 2.1.12, and 1.11.24 DJANGOPROJECT.COM 讨论 Discussions ...

2019-09-04 · 4 min · 1731 words · ZoomQuiet