周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
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 ...
欢迎阅读《pythonista周刊》第518期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-518 翻译:Dustyposa 来自赞助商(PS:原文的赞助商) Deliver Cleaner and Safer Python Code in Your IDE Working in VS Code, PyCharm, Visual Studio, or Eclipse? SonarLint is a free and Open Source IDE extension that helps you find & fix quality and security issues in your Python codebase! Discover More 新闻 Django 4.0 will include a built-in Redis cache backend ...
slippers ~ 低代码新思路 原文: PyCoder’s Weekly - Issue #491 210922 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210922 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 结构模式匹配在 Python 3.10 BEN HOYT “Python 3.10, which is due out in early October 2021, will include a large new language feature called structural pattern matching. This article is a critical but (hopefully) informative presentation of the feature, with examples based on real-world code.” (是也乎: LISP/Erlang 在 Python 世界的恢复… ) 用 Django 和 Python 建立个人日记 REAL PYTHON In this beginner-friendly tutorial, you’ll build a personal diary app in Django. You’ll use the strengths of the Django web framework and learn the basics of web development with Python. (非) 解开生成器表达式 BRETT CANNON What does that look like if you take away the Python “magic” of generator expressions and unravel them down to their core Python semantics? Python 反模式: 使用可变的默认值作为参数 VALI VOICU A debugging post-mortem. 更好的 Pypy JIT 支持自动生成的Python代码 CARL FRIEDRICH BOLZ-TEREICK (是也乎: PyPy 在 CPython 的平行宇宙玩出了自己的道路… ) 通过在断点开始 REPL 来调试很有趣 JULIA EVANS (是也乎: 断点进入现场 REPL 进行交互探索, 低配版 IDE ) Django 4.0 获得内置 Redis Cache 后端 GITHUB.COM/DJANGO (是也乎: 没办法了, 只能先 redis 了 ) 探讨/吐糟 Discussions ...
欢迎阅读《pythonista周刊》第517期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-517 翻译:Dustyposa 文章、教程与话题 Solidity, Blockchain, and Smart Contract Course – Beginner to Expert Python Tutorial 本课程将全面介绍区块链、智能合约、solidity、NFTs/ERC721s、ERC20s、去中心化金融编码(DeFi)、python和solidity、Chainlink、Ethereum、可升级智能合约和全栈区块链开发的所有核心概念。 使用MediaPipe Hands通过手势控制无人机 学习如何在无人机的视频流中使用手势识别来控制 DJI Tello。 User File Use 也许你的应用程序需要处理来自用户的文件,如个人资料图片。要安全地接受来自他人的文件是很棘手的。在这篇文章中,我们将看到 Django 提供的安全管理文件的工具。 如何设置像 “隐藏我的电子邮件 “那样的自定义私人电子邮件中继 - 第一部分 两部分系列的第一部分解释了为什么你应该使用自定义的私人电子邮件中继,以及你如何使用 AWS 建立一个。 更好的Pythonic工厂模式 如果工厂模式是在今天而不是在90年代发明的,它会是什么样子?我讨论了工厂模式背后的设计原则,以及你如何通过使用现代 Python 特性来实现同样的事情,甚至更好。 Working in VS Code, PyCharm, Visual Studio, or Eclipse? SonarLint is a Free & Open Source IDE Extension that offers more than 170+ unique rules to find Bugs, Vulnerabilities, Security Hotspots, and Code Smells in your Python code. Discover more SPONSOR 在Python中压缩和归档文件的所有方法 用 Python 压缩、解压和管理你可能需要的所有格式的档案和文件。 在 Flask Application 中如何使用模板 在本教程中,你将建立一个小型的网络应用程序,渲染几个 HTML 文件。你将使用变量将数据从服务器传递给模板。模板的继承将帮助你避免重复。你将在模板中使用逻辑,如条件和循环,使用过滤器来修改文本,并使用 Bootstrap 工具箱来设计你的应用程序。 如何用Python求解微分方程 考察的是一阶常微分方程(ODEs)、耦合的一阶 ODEs 和高阶 ODEs。 并行的 Python 代码 这篇文章回顾了 Python 代码并行化的一些常见选择,包括基于进程的并行化、专门的库、ipython并行化和Ray。 Python Standalone Builds 这个项目生产独立的、高度可移植的 Python 发行版。这些 Python 发行版包含一个完全可用的、全功能的Python安装,以及它们的构建工件(对象文件、库等)。 Python Anti-Pattern Psycopg3 Initial Review OpenBSD’s pledge and unveil from Python 如何使用 Scrapy 抓取网页 Unravelling async for loops 逆向工程苹果词典 ...