蠎周刊(PyCoder)593

创建漂亮的极坐标直方图 原文: PyCoder’s Weekly - Issue #593 230906 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230906 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 用 Rich 创建 Python Wordle 克隆 REAL PYTHON COURSE In this step-by-step project, you’ll build your own Wordle clone with Python. Your game will run in the terminal, and you’ll use Rich to ensure your word-guessing app looks good. Learn how to build a command-line application from scratch and then challenge your friends to a wordly competition! (是也乎: Rich 这个框架名字起的真好,… ) 用 Python 和 Matplotlib 创建漂亮的极坐标直方图 OSCAR JOHANSSON “Polar histograms are great when you have too many values for a standard bar chart. The circular shape where each bar gets thinner towards the middle allows us to cram more information into the same area.” Learn how to create one using Python and Matplotlib. (是也乎: 这种图表… ) Python 协议缓冲区简介 MIKE DRISCOLL Protocol buffers are a data serialization format that is language agnostic, analogous to Python’s pickle format. Learn how to write them in Python and communicate with other languages that support the protocol. Django 安全版本:4.2.5、4.1.11 和 3.2.21已发布 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2023-09-06 · 4 min · 1971 words · ZoomQuiet

蠎周刊(PyCoder)592

让每一行都有意义 原文: PyCoder’s Weekly - Issue #592 230830 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230830 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, Asyncio, Twisted, Tornado, Gevent 走进酒吧…… BITE CODE A good introduction to I/O bound concurrency in Python and the libraries used to achieve it. Has a nice compare and contrast between the approaches and finishes with some good advice: you probably don’t need any of them. (是也乎: 尬聊… ) Python 星号和斜杠特殊参数有什么用? REAL PYTHON In this tutorial, you’ll learn how to use the Python asterisk and slash special parameters in function definitions. With these symbols, you can define whether your functions will accept positional or keyword arguments. (是也乎: ) 深入了解 Flask 指南 TESTDRIVEN.IO • Shared by Patrick Kennedy Become a better web developer by taking a deep dive into Flask’s internals to learn about its core features and functionality. Python 3.11.5, 3.10.13, 3.9.18, and 3.8.18 已发布 CPYTHON DEV BLOG 征文:XtremePython 2023 在线 2023 年 12 月 5 日 XTREMEPYTHON.DEV 探讨/吐糟 Discussions NULL ...

2023-08-30 · 4 min · 1677 words · ZoomQuiet

蠎周刊(PyCoder)591

在 Excel 中引入 Python 原文: PyCoder’s Weekly - Issue #591 230823 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230823 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, Python Polars: 闪电般快速的 DataFrame 库 REAL PYTHON Welcome to the world of Polars, a powerful DataFrame library for Python! In this showcase tutorial, you’ll get a hands-on introduction to Polars’ core features and see why this library is catching so much buzz. (是也乎: ) Python 的不朽对象简介 ENGINEERING AT META This article explains immortal objects (PEP 683) which are excluded from garbage collection. This causes performance and shared memory improvements for large architectures. 用 Python 和 Playwright 进行端到端测试 MARKOS GOGOULOS • Shared by Laura Stephens This post shows you how to get started with Playwright, add end-to-end tests to an existing project, and automate running it using GitHub Actions. 在 Excel 中引入 Python STEFAN KINNESTRAND Microsoft has announced that they’re embedding Python into Excel through a partnership with Anaconda. Read on for details. (是也乎: 目测是老爹的推动? 这..不就是 Jupyter 的 Excel 版本? ) 探讨/吐糟 Discussions NULL ...

2023-08-23 · 4 min · 1686 words · ZoomQuiet

蠎周刊(PyCoder)590

为什么 Python 如此神奇 原文: PyCoder’s Weekly - Issue #590 230816 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230816 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 如何注释返回 self 的方法 REAL PYTHON In this tutorial, you’ll learn how to use the Self type hint in Python to annotate methods that return an instance of their own class. You’ll gain hands-on experience with type hints and annotations of methods that return an instance of their class, making your code more readable and maintainable. (是也乎: ) 用 Python 创建上下文管理器 TREY HUNNER • Shared by Trey Hunner Objects with enter and exit methods can be used as context managers in Python. This article (and screencast) explains most of what you’ll want to know when creating your own context managers. PEP 723: 在单文件脚本中嵌入 pyproject.toml PYTHON.ORG This PEP proposes a metadata format which a single-file script can use to specify dependency and tool information for IDEs and external development tools. It replaces PEP 722. PyPI: 新用户注册的 2FA 强制执行 PYPI.ORG PSF 宣布任命新的 PyPI 安全工程师 PYTHON SOFTWARE FOUNDATION Python 3.12.0 RC 1 发布 CPYTHON DEV BLOG 探讨/吐糟 Discussions NULL ...

2023-08-16 · 4 min · 1768 words · ZoomQuiet