PyCoder 529

PyScript 飞翔在浏览器中吧 Python 君. 原文: PyCoder’s Weekly - Issue #529 220615 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220615 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. PyScript 初探: Web 浏览器中的 Python REAL PYTHON In this tutorial, you’ll learn about PyScript, a new framework that allows for running Python in the web browser with few or no code modifications and excellent performance. You’ll leverage browser APIs and JavaScript libraries to build rich, highly interactive web applications with Python. (是也乎: 虽然是实验项目, 但是, 大家都很兴奋… ) 了解 Django: 调试技巧和技巧 MATT LAYMAN • Shared by Matt Layman Your Django app is up. You’ve got users. Your users are hitting bugs. How do you debug to fix the problems? This article dives deep into to how to find and squish the bugs in your Django code. (是也乎: Django 已经平台化了, 此时的 debug 就得有新姿势了 ) Python 中的安全密码处理 MARTIN HEINZ Lots of applications require some form of authentication, password handling, or the use of secure credentials. What are the best practices in Python for dealing with this? (是也乎: 安全口令在 Python 中管理的姿势… 最后给出的建议意味深长… ) Python 3.10.5 Bug 发布 CPYTHON DEV BLOG 2021 年 Python 开发人员调查结果 PYTHON SOFTWARE FOUNDATION (是也乎: 调查结果出来了: 到处都是 Pythoneer ) EuroSciPy August 29-September 2, 瑞士巴塞尔 EUROSCIPY.ORG • Shared by Darya Chyzhyk 探讨/吐糟 Discussions ...

2022-06-15 · 4 min · 1978 words · ZoomQuiet

PyCoder 528

如何摆脱教程地狱? 当然不是爱… 原文: PyCoder’s Weekly - Issue #528 220608 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220608 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Django 静态文件和模板 WILL VINCENT “Static files like CSS, JavaScript, and fonts are a core piece of any modern web application. They are also typically confusing for Django newcomers since Django provides tremendous flexibility around how these files are used. This tutorial will demonstrate current best practices for configuring static files in both local development and production.” 用 pandas 和 NumPy 进行数据清理 REAL PYTHON COURSE In this video course, you’ll learn how to clean up messy data using pandas and NumPy. You’ll become equipped to deal with a range of problems, such as missing values, inconsistent formatting, malformed records, and nonsensical outliers. Optimize Python Code Inefficiencies and Latency With Datadog Application Monitoring DATADOG SPONSOR Datadog’s APM generates detailed flame graphs to provide you with deeper insights into code-level performance enabling teams to identify bottlenecks and latency in their Python code. Navigate seamlessly between app traces, logs and metrics to resolve app issues fast. Optimize Python Code Inefficiencies and Latency With Datadog Application Monitoring (是也乎: 事实证明, logo 可爱能提高转化率 ) 简要了解 CPython 字符串 ONDŘEJ MĚKOTA “Have you ever noticed that a string with just a few characters in Python uses several dozen bytes of memory? We handle a lot of short strings and I have been wondering why Python seems to store strings seemingly so inefficiently.” 加速发布 Python 3.11.0b3 CPYTHON DEV BLOG Django Bugfix Release: 4.0.5 DJANGO SOFTWARE FOUNDATION 请求包的域名抢注攻击 JOSSEF HARUSH Python News: What’s New From May 2022 REAL PYTHON (是也乎: ) 探讨/吐糟 Discussions ...

2022-06-08 · 4 min · 1991 words · ZoomQuiet

PyCoder 527

对数据科学家有用的 Python 装饰器 原文: PyCoder’s Weekly - Issue #527 220601 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220601 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 的“函数”有时是类 TREY HUNNER Ever use list() or enumerate()? Think of them as functions? They’re not, they’re classes. Sometimes we call classes functions in Python. Why? And what’s a “callable”? 探索 Python 中的作用域和闭包 REAL PYTHON COURSE In this Code Conversation video course, you’ll take a deep dive into how scopes and closures work in Python. To do this, you’ll use a debugger to walk through some sample code, and then you’ll take a peek under the hood to see how Python holds variables internally. (是也乎: 是的, 套娃, 幸好 Python 严密的用缩进进行了可视化先… ) 所有关于星号在 Python 中需要知道的 BAS STEINS The * is for more than multiplication, it is also the basis for the two deconstruction operators: * and **. Learn the ins-and-outs of using *args, **kwargs, deconstruction, and forcing keyword-arguments-only in functions. ctx 库被劫持以窃取 AWS 密钥 AX SHARMA (是也乎: 全新 Hijacked 姿势… ) 探讨/吐糟 Discussions ...

2022-06-01 · 4 min · 1675 words · ZoomQuiet

PyCoder 526

编程时最喜欢的播放列表? 原文: PyCoder’s Weekly - Issue #526 220525 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220525 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 FastAPI 和 Python 构建缩址器 REAL PYTHON In this step-by-step project, you’ll build an app to create and manage shortened URLs. Your Python URL shortener can receive a full target URL and return a shortened URL. You’ll also use the automatically created documentation of FastAPI to try out your API endpoints. (是也乎: 实用哪…每个网站都值得拥有自己的 Shortener ) 为开源做贡献: rich #2073 RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão Rodrigo decided he’d start contributing to Open Source and it began by being assigned bug #2073 in the rich library. This article goes into great detail on environment set up, how he found the bug, and what it took to squish it. (是也乎: 一次完备的开源贡献之旅行, 可以看到, 大量的工作并不是开发, 而是理解问题本身… ) 自制机器人水枪来威慑鸽子 MAX NAGY Max built a wifi-equipped water gun to shoot the pigeons on his balcony. It is controlled over the internet by a python script running openCV reading the camera image from an old iPhone. See all the details. Swiss Python Summit: 早鸟票和提案征集 PYTHON-SUMMIT.CH • Shared by Denis Krienbühl TensorFlow 2.9.0 发布 GITHUB.COM/TENSORFLOW Django 4.1 Alpha 1 发布 DJANGO SOFTWARE FOUNDATION Python 3.9.13 维护版本发布 CPYTHON DEV BLOG CPython Faster: Beta 版本中时序改进结果 GITHUB.COM/FASTER-CPYTHON 探讨/吐糟 Discussions ...

2022-05-25 · 4 min · 1861 words · ZoomQuiet