Issue 451

通过练习学 Python 的生成器/协程 原文: PyCoder’s Weekly - Issue #451 201216 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201216 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 位运算符 REAL PYTHON In this tutorial, you’ll learn how to use Python’s bitwise operators to manipulate individual bits of data at the most granular level. With the help of hands-on examples, you’ll see how you can apply bitmasks and overload bitwise operators to control binary data in your code. (是也乎: 回到汇编 ;-) ) 用 mypy 进行详尽检查 HAKI BENITA What if mypy could warn you about possible problems at “compile time”? In this article, you’ll learn a little trick to get mypy to fail when a value in an enumeration type is left unhandled. 用 Python 安排各种定期作业 TOWARDSDATASCIENCE.COM • Shared by Martin Heinz Every software developer, data scientist, and sysadmin must, at some point, schedule jobs to run. In this article, you’ll learn how to do this with Python. You’ll encounter a number of methods for scheduling jobs, from using the standard library to leveraging third-party packages. (是也乎: 嚓, 这口气大了, 也的确需要 ) Python 的对象物件系统如何运作 VICTOR The Python object system is one of the most important parts of the Python language. Mastering it is essential to mastering the Python language. Learn how the object system works by examining the CPython source code in this detailed tutorial. (是也乎: 灵魂追问了, 从代码上看, 老爹也一直在纠结ing…. ) 什么是数据工程/是否适合您? REAL PYTHON In this article, you’ll get an overview of the discipline of data engineering. You’ll learn what is and isn’t part of a data engineer’s job, who data engineers work with, and why data engineers play a crucial role in many industries. (是也乎: 扫盲贴 ;-) ) Python 软件基金会 2020 募捐者 PYTHON.ORG Help the PSF recover funds lost due to COVID-19. (是也乎: 等等, 哪儿? 俺也得捐. ) PyTorch 1.7.1 发布: 更新 Python 3.9 二进制文件 GITHUB.COM/PYTORCH Python 3.9.1 最终版本 PYTHON.ORG Qt 6.0 发布 QT.IO • Shared by Bartosz Zaczyński (是也乎: 嚓了, 真.活久见 ) 探讨/吐糟 Discussions ...

2020-12-16 · 4 min · 1849 words · ZoomQuiet

Issue 450

ORM 到底值得嘛? 原文: PyCoder’s Weekly - Issue #450 201209 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201209 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 为什么要使用 ORM (对象关系映射器)? KARIM MARZOUQ • Shared by Karim Marzouq Budding web developers learning Model-View-Controller frameworks are taught that they should use an Object Relational Mapper (ORM) to interface with their databases. But the “why” is often brushed aside or omitted entirely, leaving a fledgling programmer with burning questions like ”What are ORMs, anyway?” and “What problems do they solve?” (是也乎: 直觉上, 为了节省 SQL 培训时间, 以及将 SQL 安全隐藏到 ORM 模块中. ) 降低 Python 中的数值精度会影响现实世界的数据集吗? MARTIN JONES • Shared by Martin Jones Reducing numerical precision is a way to save memory in pandas, but does it make a difference to the conclusions that we might draw from real-world datasets? (是也乎: 这才是真正的千年虫本身 ) 用PyQt处理SQL数据库:基础 REAL PYTHON In this step-by-step tutorial, you’ll learn how to use PyQt’s built-in SQL support to create GUI applications that effectively manage SQL databases. (是也乎: 连接以及读写DB 简单, 问题是 GUI 自动生成表格.. ) 用 TensorFlow 2 对象检测 API 令已打印链接可点击 OLEKSII TREKHLEB Learn how to turn your phone’s camera into a link detector on printed media using Tensor Flow 2’s Object Detection API. 探讨/吐糟 Discussions ...

2020-12-09 · 4 min · 2003 words · ZoomQuiet

Issue 449

Python 类型检查 原文: PyCoder’s Weekly - Issue #449 201202 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201202 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 嫑用 Python 进行’拆解’ BRETT CANNON In the next blog post in his series about Python’s syntactic sugar, Brett Cannon tackles what would seem to be a very simple bit of syntax, but which actually requires diving into multiple layers to fully implement: not. Python 如何管理内存? REAL PYTHON course Get ready for a deep dive into the internals of Python to understand how it handles memory management. By the end of this course, you’ll know more about low-level computing, understand how Python abstracts lower-level operations, and find out about Python’s internal memory management algorithms. (是也乎: ) PyQt 布局: 创建专业范儿 GUI 应用程序 REAL PYTHON In this step-by-step tutorial, you’ll learn how to use PyQt layouts to arrange and manage the graphical components on your GUI applications. With the help of PyQt’s layout managers, you’ll be able to create polished and professional GUIs with minimal effort. (是也乎: ) Python 类型检查 JAN GIACOMELLI What is type checking? Why do we need it? What’s the difference between static and runtime type checking? (是也乎: 终于 C++ 化不可避免了? ) Django Bugfix 发布: 3.1.4 DJANGO SOFTWARE FOUNDATION The π release! (是也乎: π版本, 也许应该学习隔壁图书版本? 就用 π 的无限数字, 每次增长一位? ) pip 20.3 推出了新的依赖项解析器 PYTHON SOFTWARE FOUNDATION • Shared by Sumana Harihareswara (是也乎: 努力, 总是能追上 Chrome 版本数的 ) 探讨/吐糟 Discussions ...

2020-12-02 · 4 min · 1866 words · ZoomQuiet

Issue 448

格式化 Python 字符串/越来越复杂. 原文: PyCoder’s Weekly - Issue #448 201125 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201125 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Synthetic Data Vault (SDV): 用于数据集建模的Python库 ESMAEIL ALIZADEH Creating realistic data for testing applications can be difficult, especially when you have complex data requirements and privacy concerns make using real data problematic. Enter Synthetic Data Vault, a tool for modeling datasets that closely preserves important statistics, like mean and standard variation. Python enumerate(): 简化计数器循环 REAL PYTHON Once you learn about for loops in Python, you know that using an index to access items in a sequence isn’t very Pythonic. So what do you do when you need that index value? In this tutorial, you’ll learn all about Python’s built-in enumerate(), where it’s used, and how you can emulate its behavior. (是也乎: enumerate 是强力模块, 但是名字太复杂, 以至大家下意识的选择无视? ) 可复制和可升级的Conda环境: 带 conda-lock 的依赖项管理 ITAMAR TURNER-TRAURING If your application uses Conda to manage dependencies, you face a dilemma. On the one hand, you want to pin all your dependencies to specific versions, so you get reproducible builds. On the other hand, once you’ve pinned everything, upgrades become difficult. Enter conda-lock. (是也乎: conda 也值得有专用依赖管理工具. ) Python 中的正则表达式和构建正则表达式 REAL PYTHON course In this course, you’ll learn how to perform more complex string pattern matching using regular expressions, or regexes, in Python. You’ll also explore more advanced regex tools and techniques that are available in Python. (是也乎: 为什么真蟒出课这么快? 流水线? ) PyInstaller 4.1 支持了 Python 3.8 and 3.9 PYINSTALLER.READTHEDOCS.IO 探讨/吐糟 Discussions ...

2020-11-25 · 4 min · 1928 words · ZoomQuiet