pythonista-weekly : Pyw 498

欢迎阅读《pythonista周刊》第498期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-498 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Get Your Weekly Dose of Programming A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free 新闻 The new TI-84 Plus CE Python graphing calculator TI-84 Plus CE 的一切你所知道和喜爱的,现在有了 Python 的助力。向学生介绍使用 TI 技术用 Python 进行编码。2021年秋季上市。 Python also impacted by critical IP address validation vulnerability Python 标准库 ipaddress 也存在严重的 IP 地址验证漏洞,与今年早些时候 “netmask “库中报告的漏洞相同。发现 netmask 关键漏洞的研究人员也在这个 Python 模块中发现了同样的漏洞,并获得了一个漏洞标识符。CVE-2021-29921。由于 Python 维护者在 2019 年的一次修改,这个回归漏洞悄然进入 Python 3.x 的 ipaddress 模块。 宣布六项Python科学资助项目 Python 科学工作组考虑为推动 Python 的科学应用的提案提供资金。我们最近的提案征集已经结束,我们很高兴地宣布了六项资助。 ...

2021-05-07 · 4 min · 1606 words · ZoomQuiet

Issue 471

C扩展的隐藏性能开销 原文: PyCoder’s Weekly - Issue #471 210505 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210505 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python C扩展的隐藏性能开销 ITAMAR TURNER-TRAURING It’s no secret that Python is slower than compiled languages like C, C++, and Rust. If you need a performance boost, you can write compiled Python C extensions. But there are some hidden performance costs that you should be aware of if you decide to do this. This article explains two ways that Python C extensions can actually be slower than pure Python and discusses some solutions and work around for them. (是也乎: 是的, Py 内建模块是宝藏, 很少有人都用过的… ) 如何用 ipywidgets 令 Jupyter Notebook 能交互式 MATT WRIGHT Jupyter Notebooks are great for exploratory data analysis. They’re also a good way to share results and analysis with other people, who can alter the notebook to further explore the data themselves. But there are some limitations to notebook interactivity. That’s where ipywidgets comes in! In this tutorial you’ll learn how to create widgets like check boxes, drop-down menus, sliders, and how to handle events like button clicks. Rapidly Identify Bottlenecks in Your Python Applications with Datadog APM. DATADOG sponsor Datadog’s Continuous Profiler allows you to find the most resource-consuming parts in your production code all the time, at any scale, with minimal overhead. Debug and optimize your code, enhancing application performance before your customers notice. Try Datadog APM today → 用 Arcade 在 Python 中构建平面游戏 REAL PYTHON Building games can be a fun way to learn new Python concepts and practice techniques you’ve already learned. Plus, they make for great projects to share! This step-by-step tutorial shows you how to build a platform game using the arcade library. You’ll learn techniques for designing levels, sourcing assets, and implementing advanced features. (是也乎: 卷轴游戏, 现在有完备的开发/设计/调试环境了… ) Python 3.10.0b1 现在可用 CPYTHON DEV BLOG Python 3.8.10 and 3.9.5 have also been released. Microsoft 成为 PSF 第三个 远见赞助商 MICROSOFT.COM EuroPython 2021: 呼吁赞助商 EUROPYTHON.EU Django Security 发行版发布: 3.2.1, 3.1.9, and 2.2.21 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2021-05-05 · 5 min · 2226 words · ZoomQuiet

pythonista-weekly : Pyw 497

欢迎阅读《pythonista周刊》第497期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-497 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Get Your Weekly Dose of Programming A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free 新闻 PyOhio 2021 Call for Proposals We’re looking for talks on any topics of interest to Python users. The deadline to submit your proposal is 05-03-2021. ...

2021-04-30 · 3 min · 1070 words · ZoomQuiet

Issue 470

开源的社会契约 原文: PyCoder’s Weekly - Issue #470 210428 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210428 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 开源的社会契约 BRETT CANNON opinion What is open source software, and what is the relationship between a maintainer and a user? Python core developer and steering council member Brett Cannon tackles some questions about the open source, raises concerns about bad actors, and shares some thoughts about handling abuse. (是也乎: 大学研究僧将目光投向开源社区后… ) Python’s map() 函式: 转换可迭代对象 REAL PYTHON course Learn how Python’s map() works and how to use it effectively in your programs in this video course. You’ll also learn how to use list comprehension and generator expressions to replace map() in a Pythonic and efficient way. (是也乎: ) 教大家用 Hedy 编码 JOSHUA ALLEN HOLM Hedy is a new programming language designed specifically for teaching people to code. What makes Hedy special is its notion of “levels” that start with the most basics concepts and gradually introduce new features that eventually become more Python-like. Hedy is not designed to compete with languages designed for real-world projects. It is 100% focused on teaching. (是也乎: print Hello World 这很 Pythonic. ) ...

2021-04-28 · 4 min · 1999 words · ZoomQuiet