pythonista-weekly : Pyw 434

欢迎阅读"pythonista周刊"第434期. Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-434 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 使用 Datadog 监控你的python指标,日志,集群分析. 使用Datadog的应用分析,可以深入任何纬度并且能找到你所需要的信息,来进行动态诊断和快速故障排除. 马上跟踪你的python应用吧!免费试用14天哦! ...

2020-02-01 · 5 min · 2363 words · ZoomQuiet

Issue 405

Python 3.9.0a3 现在可用于测试 原文: PyCoder’s Weekly - Issue #405 200129 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200129 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 用 Tkinter 进行 Python GUI 编程 REAL PYTHON In this article, you’ll learn the basics of GUI programming with Tkinter, the de-facto Python GUI framework. Master GUI programming concepts such as widgets, geometry managers, and event handlers. Then, put it all together by building two applications: a temperature converter and a text editor. Pythonic Code Review [2016] ILYA ETINGOF “In this article I’ll focus on my personal experience in authoring and reviewing Python code from both psychological and technical perspectives. And I’ll do so keeping in mind the ultimate goal of striking a balance between code reviews being enjoyable and technically fruitful.” (是也乎: 为什么总感觉私人经验比团队经验要来的靠谱? ) pip 20.0 已发布 PYPA.IO Default to doing a user install (as if –user was passed) when the main site-packages directory is not writeable and user site-packages are enabled, cache wheels built from Git requirements, and more. (是也乎: 终于, 20个大版本了, 终于支持 NPM 样的本地模块支持 ) Python 3.9 兼容性变更 KARTHIKEYAN SINGARAVELAN “With the EoL of Python 2 being in line with development of Python 3.9 there were changes made to Python 3.9 that broke a lot of packages since many deprecation warnings became errors.” (是也乎: 老爹退休, Python 就开始了 Chrome 刷版本般节奏… ) 关于如何为 Python 安装软件包的快速入门指南 BRETT CANNON “If you just want to start poking at Python and want to avoid the pitfalls to installing packages globally, it only takes 3 steps to do the right thing.” Python 3.9.0a3 现在可用于测试 PYTHONINSIDER.BLOGSPOT.COM Changelog at the link. 讨论 Discussions NIL ...

2020-01-29 · 3 min · 1307 words · ZoomQuiet

pythonista-weekly : Pyw 433

欢迎阅读"pythonista周刊"第433期. Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-433 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): python开发者都需要的Vettery Vettery是一个招聘网站,它改变了人们应聘或者雇佣的方式. 准备好换工作地方了吗?免费制作简历,你的薪资你说了算,现在就和顶级雇主的HR联系吧! ...

2020-01-25 · 6 min · 2515 words · ZoomQuiet

Issue 404

404 了啊啊啊啊… 原文: PyCoder’s Weekly - Issue #404 200115 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200115 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 在N皇后问题上对比 Python, Go 和 C++ (PDF) PASCAL FUA, KRZYSZTOF LIS “Python currently is the dominant language in the field of Machine Learning but is often criticized for being slow to perform certain tasks. In this report, we use the well-known N-queens puzzle as a benchmark to show that once compiled using the Numba compiler it becomes competitive with C++ and Go in terms of execution speed while still allowing for very fast prototyping.” (是也乎: 叕一则对比 ) Codemodding Python: 将 Unittest 断言声明为 Python 断言 HANS-WILHELM WARLO Large codebases require continued maintenance, but it is time-consuming and cumbersome to change portions of code scattered around many files. This article shows how to write codemods to refactor Python code using its Abstract Syntax Tree—gaining far more granular control than basic regex and search-replace. Arcade: Python 游戏框架入门 REAL PYTHON In this step-by-step tutorial, you’ll learn how to use arcade, a modern Python framework for crafting games with compelling graphics and sound. Object-oriented and built for Python 3.6 and up, arcade provides you a modern set of tools for crafting great Python game experiences. (是也乎: ) 创建一个简单的 Python Pip 存储库 JAN-PIET MENS “I wanted the simplest (i.e. most lightweight) possible repository capable of serving packages in such a way as that Python’s pip would be able to install them.” 编写多语言脚本 NKANAEV.GITHUB.IO Python and Ruby have somewhat similar syntaxes, could you come up with a program that’s valid in both languages? 讨论 Discussions NIL ...

2020-01-23 · 3 min · 1366 words · ZoomQuiet