蠎周刊(PyCoder)588

小书:软件设计实例 原文: 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… ...

2023-08-02 · 4 min · 1756 words · ZoomQuiet

蠎周刊(PyCoder)587

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

2023-07-26 · 4 min · 1982 words · ZoomQuiet

蠎周刊(PyCoder)586

如何组织近3万个模块? 原文: PyCoder’s Weekly - Issue #586 230719 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230719 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, Python 中的迷宫第 2 部分:存储和求解 REAL PYTHON COURSE In part two of this two-part project, you’ll define a specialized binary file format to store a maze on disk, transform the maze into a traversable weighted graph, and use a graph search algorithm in the NetworkX library to find the solution. (是也乎: ) 如何组织我们非常大的 Python 巨石 DAVID SEDDON Kraken Technologies is an environmental tech company that does a lot of Python development. One of their applications is a monolith with over 27k modules. This article outlines how they keep all this organized and running. (是也乎: 2万7千个模块的 Python 系统运营… ) 进程间共享 NumPy 数组的 7 种方法 JASON BROWNLEE If you’re doing multi-processing with NumPy you will need to pass arrays between processes. This article covers different ways of doing just that. Python 3.12.0 Beta 4 发布 CPYTHON DEV BLOG 探讨/吐糟 Discussions ...

2023-07-19 · 5 min · 2100 words · ZoomQuiet

蠎周刊(PyCoder)585

Meta Threads 后端使用 Python 3.10 原文: PyCoder’s Weekly - Issue #585 230712 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230712 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, Python 3.12 预览版:支持 Linux Perf Profiler REAL PYTHON Python 3.12 will be released in October 2023. In this tutorial, you’ll preview one of its upcoming features: support for the Linux perf profiler, which will give you a holistic view of your application’s performance, including system-level and hardware-level events. (是也乎: ) Python 在 Netflix KENNEDY, SIMIC, RAMANUJAM PODCAST Talk Python to Me interviews Zoran Simic and Amjith Ramanujam discussing how Python is used at Netflix, including fail-over, security, ML, notebooks, and more. (是也乎: ) 用 Numba Vectorize 加速 Python 代码 SIDDIQI This article delves into the inner workings of Numba Vectorize. Learn how to harnesses the power of SIMD operations to improve code performance. PSF 聘请一名常驻副 CPython 开发人员 PYTHON SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2023-07-12 · 4 min · 1630 words · ZoomQuiet