Issue 403

监狱中学 Python 改变人生 原文: PyCoder’s Weekly - Issue #403 200115 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200115 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. A coverage.py 调试求助 NED BATCHELDER Ned was getting reports for a mysterious disk I/O bug in the latest coverage.py release and asked the community for help. Read the crowd-sourced diagnosis on Hacker News and Ned’s follow-up post next. What a journey… (是也乎: 最喜欢这种故事了…总是展现出软件工程的诗意来 ) The “No Code” 妄想 ALEX HUDSON 观点 “2020 is going to be the year of ’no code’: the movement that say you can write business logic and even entire applications without having the training of a software developer. I empathise with people doing this, and I think some of the ’no code’ tools are great. But I also thing it’s wrong at heart.” (是也乎: 机械代码->编译代码->高级代码->DSL->低代码->无码科技… 嗯哼,突然 发现 fenng 的前瞻能力哪 ) Python 如何实现超长整数? ARPIT BHAYANI “Python must be doing something beautiful internally to support super long integers and today we find out what’s under the hood. The article goes in-depth to explain design, storage, and operations on super long integers as implemented by Python.” Python GUI 编程学习路径 REAL PYTHON Does your Python program need a Graphical User Interface (GUI)? With this free learning path you’ll develop your Python GUI programming skills from scratch. Covers Tkinter, PyQt, wxPython, and Kivy. (是也乎: 图形界面开发之路… ) Mercurial’s 的 Python 3 之旅和思考 GREGORY SZORC Lessons learned from Mercurial’s Python 3 porting effort and a more opinionated commentary of the transition to Python 3 and the Python language ecosystem as a whole. A great read about the mechanics of porting a large Python project to Python 3. (是也乎: hg 真心命不好, 就是因为爹没 Linus 知名,所以, 这么好的 DVCS 工具, 一直被 git 压制. 但是,真正好用, 俺一直在服务端配置 hg 内置 web 服务来配合 hooks, 完成要很多其它工具配合才能完成的自动化并版本化配置同步. ) 用 super() 增强 Python OOP 代码 REAL PYTHON video How to leverage single and multiple inheritance in your object-oriented Python code using the built-in super() function. 在监狱中俺从 Python 学到了什么 SHADEED WALLACE-STEPTER How open source programming can offer opportunities after incarceration. (是也乎: 社区, 永远是社区的力量… ) Pandas 1.0.0 新功能 PANDAS.IO 讨论 Discussions ...

2020-01-15 · 5 min · 2013 words · ZoomQuiet

Issue 402

Ubuntu 20.04 LTS 果断禁断 Python 2 原文: PyCoder’s Weekly - Issue #402 200108 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200108 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 最后的 Python 2.7 维护版本计划2020四月发布 PYTHON.ORG Python 2.7 is retired and became EOL on Jan 1, 2020. The last 2.7 release will be in April 2020. Ubuntu 20.04 LTS 明确移除其 Python 2 依赖 MICHAEL LARABEL “With Python 2 having reached end-of-life at the start of 2020, Ubuntu and Debian developers continue their work on removing Python 2 at least from the base OS. Work continues on transitioning packages to Python 3 or otherwise ultimately dropping unmaintained packages.” (是也乎: 第一个重量级正式呼应. ) Python *args 和 **kwargs 神秘化 REAL PYTHON video 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. (是也乎: 这么复杂的东西, 只能投降了… ) 俺对异步压力无感 ARMIN RONACHER “So for you developers of async libraries here is a new year’s resolution for you: give back pressure and flow control the importance they deserve in documentation and API.” 思考 Python 目标受众 [2017] NICK COGHLAN Who is Python being designed for? CPython core dev Nick Coghlan discusses Python’s and PyPI’s target audience and design philosophy. Recommended reading. DjangoCon 欧洲2020年发布 DJANGOPROJECT.COM DjangoCon Europe 2020 will take place in Porto, Portugal from May 27–31, 2020. (是也乎: 今年是 葡萄牙… ) 讨论 Discussions ...

2020-01-08 · 4 min · 1889 words · ZoomQuiet

Issue 401

Python 2.7 今天正式退休 原文: PyCoder’s Weekly - Issue #401 200101 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200101 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Python 2.7 Retires Today PYTHONCLOCK.ORG Python 2.7 will not be maintained past Jan 1st, 2020. So long Python 2, and thank you for your years of faithful service. Python 3, your time is now! (是也乎: 当然, 海量 Py2.7 兼容代码, 将继续在非官方支持下良好运行到永远… ) 对 Python之禅 的冥想 MOSHE ZADKA “The Zen of Python is not ’the rules of Python’ or ‘guidelines of Python’. It is full of contradiction and allusion. It is not intended to be followed: it is intended to be meditated upon. In this spirit, I offer this series of meditations on the Zen of Python.” (是也乎: 蟒之禅 的原义就是引发沉思,而不是终止之… ) Python 计时器功能: 监视代码的三种方法 REAL PYTHON Learn how to use Python timer functions to monitor how fast your programs are running. You’ll use classes, context managers, and decorators to measure your program’s running time. You’ll learn the benefits of each method and which to use given the situation. (是也乎: 总之: codetiming 内置计时器; time.perf_counter() 提供精确计时; timeit 专用运行时计时; cProfile 专用性能分析器; pstats CLI 性能分析工具; KCachegrind GUI 工具来观察性能分析数据; line_profiler 单行代码性能监察; memory-profiler 内存监察工具. ) 开源移民情绪困扰 ARMIN RONACHER The creator of Flask reflects on the Python 2 to 3 migration and how the Python community handled the transition. Interesting read! (是也乎: 和 数字游民 不同, 移民指就基础运行平台的迁移, 不象 Python 1.x -> 2.x 的迁移, 亳无压力, 因为, 当年根本就没什么成规模的 1.x 工程. 所以, 技术工程迁移, 多数阻力不在技术, 而在情绪, 就象人月神话,以及其它真实软件工程心理学著作中论及的… 代码相处时间久了, 一样有感情的, 被迫迁移到完全无感觉的新平台中, 就象改嫁… ) Python REPL和Shell集成技巧 JOHN D. COOK Some good tips and ways to minimize the context interruption when moving between the shell and a Python session. (是也乎: 厨子说的总是有用的…. ) 俺名片能运行 Linux+MicroPython GEORGE HILLIARD Embedded systems engineer builds a card-sized computer that boots Linux and runs MicroPython. Cool! (是也乎: 网红事件了… 已经有人准备将之复制并配置为实体 BTC 銭包了… ) PyPy 7.3.0 发布 PYPY BLOG 讨论 Discussions NIL ...

2020-01-01 · 4 min · 1783 words · ZoomQuiet

Issue 400

无依赖项的轻量级Excel读/写器 原文: PyCoder’s Weekly - Issue #400 191225 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 191225 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Python Dictionary 迭代: 高级技巧和窍门 REAL PYTHON video In this intermediate-level course, you’ll take a deep dive into how to iterate through a dictionary in Python. Dictionaries are a fundamental data structure, and you’ll be able to solve a wide variety of programming problems by iterating through them. (是也乎: 视频教程, 果断是重点了… ) ASGI 简介: 异步 Python Web生态系统的出现 FLORIMOND MANCA “If you were thinking Python had been getting locked into data science, think again! Python web development is back with an async spin, and it’s exciting.” Great writeup! (是也乎: 只是, 为什么? ) 2020 年发布 Python 应用程序的 12种替代方案趋势 CRISTIAN MEDINA • Shared by Cristian Medina A look at the various systems to choose from for packaging and distributing Python code. (是也乎: 分散到云/移动/环境/发行几个方向后, 其实选择并不多, 也没什么变化… ) NumPy, SciPy, 和 Pandas: 与Python的关联 REAL PYTHON Learn what correlation is and how you can calculate it with Python. You’ll use SciPy, NumPy, and Pandas correlation methods to calculate three different correlation coefficients. You’ll also see how to visualize data, regression lines, and correlation matrices with Matplotlib. (是也乎: 竞合关系哪…. ) Python 性能 Tips SKIP MONTANARO Various tips and tricks that help improve the performance of your Python programs. Django Security 发行: 3.0.1, 2.2.9, 以及 1.11.27 DJANGOPROJECT.COM Addresses CVE-2019-19844: Potential account hijack via password reset form. Python 3.8.1 发行 PYTHON.ORG 讨论 Discussions NIL ...

2019-12-25 · 4 min · 1710 words · ZoomQuiet