PyCoder 551

EuroPython 2022 视频已全部上线 原文: PyCoder’s Weekly - Issue #551 221116 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 221116 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 重构: 准备代码以获得帮助 REAL PYTHON COURSE In this Code Conversation video course, you’ll explore the steps you can take to get help when you’re stuck while coding. You’ll investigate how to clean up your code to focus on the question you have. Along the way, you’ll learn how to handle errors and use custom exceptions. (是也乎: 重构是好事儿,但是,这是在团队允许这种隐性成本前提下的… ) 用 Python 编写 Chrome 扩展程序! PETE FISON • Shared by Pete Fison Until recently you could only write Chrome Extensions in JavaScript. Now with PyScript, you can write them in Python. This article shows you how to get started writing a simple extension. (是也乎: 何时 PyScript 可以突破沙箱机制,象当年 FF 拓展一样豪放, 才能说明成功了. ) Python Asyncio: 完整指南 JASON BROWNLEE This comprehensive guide shows you everything you’d ever want to know about asynchronous programming with coroutines and the asyncio library in Python. (是也乎: 现在都谦虚了,不说终极,只曰完整了. ) EuroPython 2022 视频发布 YOUTUBE (是也乎: 126节, 看B站何时完成复制? ) PyCon US 寻找远程志愿者 PYCON US GOOGLE FORM (是也乎: 远程志愿者? ) 探讨/吐糟 Discussions ...

2022-11-16 · 4 min · 1753 words · ZoomQuiet

PyCoder 550

是什么令 Py3.11 加速这么猛? ~ 用真心 原文: PyCoder’s Weekly - Issue #550 221109 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 221109 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 3.11 究竟从哪儿获得了加速? BESHR KAYALI This deep dive into Python 3.11’s speed-up walks you through nine different optimizations that contribute to the 25% performance improvement in CPython. Python 基础: 作用域 REAL PYTHON COURSE In this video course, you’ll learn what scope is and why it’s important to coding functions and loops in Python. You’ll also get to know the LEGB rule. (是也乎: 好象有个什么口决来判定的…–> LEGB rule ) Python 中的 Google API 入门 MARTIN HEINZ • Shared by Martin Heinz A crash course in using Python and Google APIs to automate all the things you do with Gmail, Google Drive, Calendar, or any other Google API (是也乎: 什么是 Google ? ) PyCascades 2023 征集提案 PRETALX.COM Django Bugfix 发布: 4.1.3 DJANGO SOFTWARE FOUNDATION PyTorch 1.13 发布 PYTORCH.ORG PyChain 2022 演讲者公布 PYCHAIN.ORG 探讨/吐糟 Discussions ...

2022-11-09 · 4 min · 1858 words · ZoomQuiet

PyCoder 549

PyCon US 2023 开始召唤议题 原文: PyCoder’s Weekly - Issue #549 221102 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 221102 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 如何从 Python 列表或可迭代对象中获取第一个匹配项 REAL PYTHON In this tutorial you’ll learn about the best ways to get the first match from a Python list or iterable. You’ll look into two different strategies, for loops and generators, and compare their performance. Then you’ll end up by creating a reusable function for all your first matching needs. (是也乎: ) 用 Pillow 生成模因/MEME和信息图表 PIOTR MALIŃSKI Pillow is great for doing image resizing, adding borders or composing. This makes it a natural fit for creating tools for memes and infographics. This step-by-step article shows you what Pillow code you need to write to turn any image into a meme. (是也乎: 给定一张图,快速自动追加各种网络梗 ) 什么时候应该升级到 Python 3.11? ITAMAR TURNER-TRAURING Python 3.11 has been released, when should you switch to using it? This posting covers the complications you can run into when moving to the latest release of any Python and how to know when it is best for you to upgrade. (是也乎: 很明显 Py 3.12.1 发布时 ) Python 3.12.0 Alpha 1 发布 PYTHON.ORG PyCon US 2023 提案征集开始 PYCON.ORG (是也乎: PyCon22中国 刚刚开始主题召唤… ) 探讨/吐糟 Discussions ...

2022-11-02 · 4 min · 1896 words · ZoomQuiet

PyCoder 548

Python 3.11 超COOL特性 原文: PyCoder’s Weekly - Issue #548 221026 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 221026 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 3.11: 值得尝试酷炫新功能 REAL PYTHON Python 3.11 is out! In this article, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python. (是也乎: ) 在 Django 中导入数据实现“Dry Run Mode” ADAM JOHNSON In data import processes it’s often useful to have a “dry run” mode that runs through the process but doesn’t actually save the data. This can allow you to check for validity and gather statistics, such as how many records already exist in the database. This post looks at how to implement a dry run mode in Django using database transactions. (是也乎: 作者是位多产程序猿, 专门为网站选择了颜色Colophon 非常 OREILLY ;-) ) 3.11 发布关乎培育社区和管理 REAL PYTHON PODCAST Does your company have a plan for growing an internal Python community? What are the attributes to look for when bringing someone into your department? This week on the show, Pablo Galindo Salgado returns to talk about building community through the Python Guild at Bloomberg and managing the release of Python 3.11. (是也乎: ) 防御性编码指南: Python FEDORAPROJECT.ORG This guide is part of a multi-language document describing how to write security conscious code. Check out the recommendations for Python from the Fedora Project. (是也乎: 嗯哼? Pythonic 流派不是应该不折腾这种风格的? ) PyCascades 2023 提案征集 PYCASCADES CONFERENCE 探讨/吐糟 Discussions ...

2022-10-26 · 4 min · 1853 words · ZoomQuiet