周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
为什么 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 ...
“为什么Python很糟糕” 原文: PyCoder’s Weekly - Issue #589 230809 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230809 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 探索 Pandas 2.0 和 Apache Arrow 的目标 REAL PYTHON PODCAST What are the new ways to describe your data in pandas 2.0? Will the addition of Apache Arrow to the data back end foster the growth of data interoperability? This week on the show, we talk with pandas core developer Marc Garcia about the release of pandas 2.0. (是也乎: Arrow 是目标替代 NumPy 的各种数据类型… 参考: pandas 2.0 and the Arrow revolution (part I) ) Python、外部函数和 Steam ARTUR DRYOMOV • Shared by Artur Dryomov This article shows you how to call foreign C functions from Python. This allows you to call into shared libraries and is similar to how extensions work. The examples use the Steamworks SDK which games use to communicate with Steam. Python 包版本控制的怪癖 SETH LARSON Python packaging allows for a wide variety of version styles for your packages. This article shows you what is out there and why you might use each. PSF宣布 2023 年第一季度的资深会员 PYTHON SOFTWARE FOUNDATION Django 4.2.4 发布 DJANGO SOFTWARE FOUNDATION Pydantic v2.1 发布 PYDANTIC.DEV 探讨/吐糟 Discussions ...
小书:软件设计实例 原文: PyCoder’s Weekly - Issue #588 230802 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230802 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, Python 3.12 预览版:更直观、一致的 F 字符串 REAL PYTHON In this tutorial, you’ll preview one of the upcoming features of Python 3.12, which introduces a new f-string syntax formalization and implementation. The new implementation lifts some restrictions and limitations that affect f-string literals in Python versions lower than 3.12. (是也乎: ) Python: 用 cProfile 分析一段代码 ADAM JOHNSON “When trying to improve a slow function or module, it’s always a good idea to profile it. Here’s a snippet for quickly profiling a section of code with Python’s cProfile module.” Python Quirks/ 怪癖 NATHAN A straight-out list of code snippets showing off some of the weird and unexpected behavior of your favorite language. 指导委员会宣布可选 GIL PYTHON.ORG (是也乎: 来了, 终于来了… ) 探讨/吐糟 Discussions NULL… ...
Cython 3.0.0 发布 原文: PyCoder’s Weekly - Issue #587 230726 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230726 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 用 Python Folium 根据数据创建 Web 地图 REAL PYTHON COURSE You’ll learn how to create web maps from data using Folium. The package combines Python’s data-wrangling strengths with the data-visualization power of the JavaScript library Leaflet. In this video course, you’ll create and style a choropleth world map showing the ecological footprint per country. (是也乎: 真蟒 将通用知识说光了, 也就进入了专项知识点解说状态, 现在也早已开放投稿分成机制, 只是不支持中文版本… ) Writing a 6502 Emulator in Python 用 Python 编写 6502 模拟器 DAILYSTUFF The 6502 processor from Motorola was quite popular and could be found in the Nintendo and Sega consoles as well as the Commodore 64. This very detailed article shows you how to build an emulator for the processor in Python. (是也乎: 神奇哪…叕一个专门领域知识 ) 用 PyStack 调试 Python 中的崩溃和死锁 MARTINHEINZ.DEV • Shared by Martin Heinz Using PyStack’s “forbidden magic” to debug deadlocks, segmentation faults, crashes and other difficult bugs in Python (是也乎: 相比 print 以及 GDB 可能就是观赏性提高了? ) Cython 3.0.0 发布 CYTHON.READTHEDOCS.IO (是也乎: 可是大家都开始期待 Ruthon 了… ) 探讨/吐糟 Discussions ...