pythonista-weekly : Pyw 520

欢迎阅读《pythonista周刊》第520期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-520 翻译: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 新闻 Python勒索病毒脚本针对ESXi服务器进行加密 配置错误迅速升级为虚拟机管理程序内部的软件攻击。 FlaskCon 2021 Call for Proposals is Open Submit your talk proposal by October 24, 2021. ...

2021-10-08 · 4 min · 1794 words · ZoomQuiet

PyCoder 493

Python 3.10 中值得尝试的新特性… 原文: PyCoder’s Weekly - Issue #493 211006 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 211006 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 3.10: 炫酷特性值得尝试 REAL PYTHON Explore some of the coolest and most useful features in Python 3.10. You’ll appreciate more user-friendly error messages, learn about how you can handle complicated data structures with structural pattern matching, and explore new enhancements to Python’s type system. (是也乎: 改进了 error message, 加强了模式匹配, 拓展了 pattern, 比如: def greet(name): match name: case “Guido”: print(“Hi, Guido!”) case : print(“Howdy, stranger!”) 嗯哼, Elixir 们的语法; def fizzbuzz(number): mod_3 = number % 3 mod_5 = number % 5 match (mod_3, mod_5): case (0, 0): return “fizzbuzz” case (0, ): return “fizz” case (, 0): return “buzz” case: return str(number) ) Python 3.10: 官方下载链接以及变更说明 PYTHON.ORG Data Elixir: 数据科学新闻组 DATA ELIXIR sponsor Data Elixir is an email newsletter that keeps you on top of the tools and trends in Data Science. Covers machine learning, data visualization, analytics, and strategy. Curated weekly with top picks from around the web → (是也乎: 串行了… 继 go+ 立志取代 R/Python 作为数据科学主力语言后, Elixir 也开始进入这一领域… ) Python 3.10 发布 Party Stream YOUTUBE.COM video A recording of the Python 3.10 Release Stream with Pablo Galindo, CPython Core Developer and Python 3.10 Release Manager, and Leon Sandøy. Python 3.10 释放值得现在使用嘛? ITAMAR TURNER-TRAURING opinion Python 3.11 将有 “零成本” Exception Handling PYTHON.ORG With “Zero-cost” exceptions the cost of try statements is almost eliminated when no exception is raised. Coverage 6.0 已发布 NED BATCHELDER Django 3.2.8 已发布 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2021-10-06 · 5 min · 2018 words · ZoomQuiet

pythonista-weekly : Pyw 519

欢迎阅读《pythonista周刊》第519期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-519 翻译:Dustyposa 来自赞助商(PS:原文的赞助商) Your Python Code: Powerful and Secure SonarQube offers Python static analysis that’s powerful, fast, and accurate - out of the box! Find and review Security Hotspots and automatically detect Vulnerabilities in your code. Get started analyzing your Python projects today! Start for free. 文章、教程与话题 用 Python & FastAPI 搭建一个区块链应用 了解如何使用 Python 构建区块链,然后使用 FastAPI 构建的 API 访问它。 Python 幕后 #13: GIL及其对Python多线程的影响 这篇文章谈论的是 GIL 的非显而易见的影响。在此过程中,我们将讨论 GIL 到底是什么,它为什么存在,它如何工作,以及它将如何影响 Python 未来的并发性。 用 spaCy & Python 做自然语言处理 在这个 spaCy 教程中,你将学习所有关于自然语言处理的知识,以及如何使用 Python spaCy 库将其应用于现实世界的问题。 New Testing Features in Django 4.0 Django 4.0 上周发布了第一个 alpha 版本,最终版本应该会在12月发布。它包含了大量的新功能,你可以在发布说明中查看。在这篇文章中,我们将更深入地研究测试方面的变化。 三种用Python测试你的API的方法 单元测试可能令人退缩,但这些 Python 模块将使你的生活更加轻松。 Fetch the Flag CTF at SnykCon | Oct 5 | Register for free Ready to take your security skills to the next level? Compete in 20 hands-on hacking challenges & win prizes at Fetch the Flag CTF at SnykCon on Oct 5. Register for free.SPONSOR 条件表达式 在这篇文章中,学习如何使用 Python 的条件表达式。 Pixel Shuffle Super Resolution with TensorFlow, Keras, and Deep Learning 了解 Pixel Shuffle Super Resolution 以及如何在自己的项目和代码中使用 Pixel Shuffle Super Resolution。 Python: 深浅拷贝对象 在这篇文章中,你将学习 Python 中深度拷贝和浅度拷贝对象的区别,以及如何用拷贝库来完成这两件事。 解读数据结构显示 Python: 在Kubernetes上用DevSpace进行Flask开发 关于PyPI,教程没有告诉你的4件事 类型检查你的 Django Application ...

2021-10-01 · 2 min · 942 words · ZoomQuiet

PyCoder 492

Django 4.0 来了 原文: PyCoder’s Weekly - Issue #492 210929 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210929 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 背景: GIL 以及其对 Python Multithreading 的影响 VICTOR SKVORTSOV GIL stands for the Global Interpreter Lock, and its job is to make the CPython interpreter thread-safe. This post tells you more about non-obvious effects of the GIL. Along the way, you’ll see what the GIL really is, why it exists, how it works, and how it’s going to affect Python concurrency in the future. (是也乎: 沈游侠也曰过类似的断言, 毕竟 Guido 老爹不傻… ) Django 模板语言: 标签和过滤器 REAL PYTHON Django templates use their own mini-language that’s inspired by Python. This tutorial covers Django template tags and filters, explaining how to compile and use templates. It covers conditional blocks, looping, and inheritance in tags as well as filters for strings and filters for lists. (是也乎: ) Django 4.0 中的新测试功能 ADAM JOHNSON Django 4.0 had its first alpha release last week and the final release should be out in December. It contains an abundance of new features, which you can check out in the release notes. This post looks at the changes to testing in a bit more depth. (是也乎: 就象 Py3 ? ) 教程中有关 PyPI 从不说的4件事儿 PAOLOA AMOROSO “Although it’s well known PyPI is unforgiving for good reasons, the package publishing process is not as straightforward as the tutorials make it seem. I run into a few unexpected minor bumps none of the guides mention.” (是也乎: PyPI 公开的机密 ) Django 4.0 Alpha 1 发布 DJANGO SOFTWARE FOUNDATION See the full changelog here. scikit-learn 1.0 发布亮点 SCIKIT-LEARN.ORG (是也乎: 竟然出 1.0 了… 好象永远不发布1.0 的才是最Nb 的? ) 探讨/吐糟 Discussions ...

2021-09-29 · 4 min · 1936 words · ZoomQuiet