pythonista-weekly : Pyw 518

欢迎阅读《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 ...

2021-09-24 · 3 min · 1376 words · ZoomQuiet

PyCoder 491

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 ...

2021-09-22 · 5 min · 2111 words · ZoomQuiet

pythonista-weekly : Pyw 517

欢迎阅读《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 逆向工程苹果词典 ...

2021-09-17 · 3 min · 1323 words · ZoomQuiet

PyCoder 490

++x 和 –x 在 Python 原文: PyCoder’s Weekly - Issue #490 210915 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210915 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 实践中应用 PEP 8 JAKE EDGE “Two recent threads on the python-ideas mailing list have overlapped to a certain extent; both referred to Python’s [PEP 8] style guide, but the discussion indicates that the advice in it may have been stretched further than intended.” Python 中专家如何 Log GUILHERME LATROVA Learn what good logging is, and how you should implement it in Python. Comes with meaningful examples and rules of thumb on what and how to log. (是也乎: 专业log姿势 ) Python新闻/ 2021年8月的新增内容是什么? REAL PYTHON August 2021 was an eventful month in the world of Python. In this article, you’ll get up to speed on everything that happened in the past month, including three new Python releases. (是也乎: ) 解开异步为循环 BRETT CANNON Python’s async for statement allows convenient iteration over asynchronous iterators. In this article you’ll see how async for loops work behind the scenes. 介绍 Pedalboard: Spotify 的 Python 音频效果库 SPOTIFY ENGINEERING BLOG 探讨/吐糟 Discussions ...

2021-09-15 · 4 min · 1687 words · ZoomQuiet