Issue 467

Django 3.2 发布ed 原文: PyCoder’s Weekly - Issue #467 210407 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210407 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 如何用 Python 脚本打败柏林租赁市场 GIAN SEGATO Learn how one Python developer used a Python script to analyze the housing market in Berlin and predict when a property would be sold or when the price would be decreased. While the article doesn’t include a lot of technical details, it’s a great case study of how Python, its rich ecosystem, and a little creativity can turn solving a banal problem — like searching for a new house in a crowded market — into something fun and intellectually rewarding! (是也乎: 15年, 就有程序猿通过 Python 脚本自动对比给出北京4环外最性价比商品房… ) Python vs Java: 面向对象编程 REAL PYTHON course You may have heard that “everything is an object in Python.” But what does that mean for doing object oriented programming? If you’re coming to Python with a Java background, you’ll want to check out this course to learn how to reinterpret your understanding of Java objects to Python, and use objects in a Pythonic way. (是也乎: 你全家才 OOP 呢. Pythonic 一向是多范式嗯哼. ) ...

2021-04-07 · 4 min · 1986 words · ZoomQuiet

Issue 466

150 行代码的全文搜索引擎 原文: PyCoder’s Weekly - Issue #466 210331 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210331 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python中的多模工作流程 ALEX HAYES Learn how to organize models into dataframes for exploratory data analysis, and why you might want to consider doing this. 150 行 Python 代码构建全文搜索引擎 BART DE GOEDE Go from data preparation to search engine in just a few lines of Python. (是也乎: ) Python 的 Ordereddict 与 Dict: 任务的正确工具 REAL PYTHON In this step-by-step tutorial, you’ll learn what Python’s OrderedDict is and how to use it in your code. You’ll also learn about the main differences between regular dictionaries and ordered dictionaries. (是也乎: ) 发布 OpenTelemetry Python 1.0 MATTHEW MCCLEARY • Shared by Alex Mitelman OpenTelemetry Python distributed tracing API/SDK released its 1.0 version. PyCharm 2021.1 EAP 5 已出局 JETBRAINS.COM 发布 Mu Version 1.1.0-Beta.3 MADEWITH.MU 探讨/吐糟 Discussions ...

2021-03-31 · 3 min · 1428 words · ZoomQuiet

Issue 465

SQLAlchemy 1.4.0 发布 原文: PyCoder’s Weekly - Issue #465 210324 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210324 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 测试风格指南 STARGIRL FLOWERS Need a quick yet thorough guide to testing? This excellent resource is for you. (是也乎: 嗯哼? 发生什么了? 突然对 Python 工程测试叕热烈起来? ) Python 性能管理的5点框架 STEVEN F. LOTT • Shared by Alex Mitelman “Performance testing — like sailboat racing — depends on the conditions along the racecourse.” 如何用Python编写单元测试/第1部分: Fizz Buzz MIGUEL GRINBERG Get an introduction to unit testing in Python from the author of the Flask Megatutorial. (是也乎: 作一件好事并不难, 难在每天都作好事儿. 单元测试也一样. ) 用 Python 和 Pygame 构建小行星游戏 REAL PYTHON Build a clone of the Asteroids game in Python using Pygame. Step by step, you’ll add images, input handling, game logic, sounds, and text to your program. (是也乎: 没有物理响应的游戏, 其实不难 ) SQLAlchemy 1.4.0 发布 SQLALCHEMY.ORG Patch versions 1.4.1 and 1.4.2 are also now available. (是也乎: 世界上只余两种 Pythonic ORM, Django的以及, 非Django的. ) Python 软件包索引现在是 GitHub 秘密扫描集成商 GITHUB.BLOG (是也乎: 为什么是 M$? ) Python 基础书籍/ 平装本已可用 REAL PYTHON sponsor “Python Basics: A Practical Introduction to Python 3” is now available as a paperback book. Go from beginner to intermediate Python knowledge with a clear, concise, and practical curriculum. Print copies available at a discounted launch price until the end of the week → 探讨/吐糟 Discussions ...

2021-03-24 · 4 min · 1700 words · ZoomQuiet

Issue 464

模式匹配在 Pythonic 原文: PyCoder’s Weekly - Issue #464 210317 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210317 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Pythonic 的模式匹配教程 RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão Structural pattern matching is coming in Python 3.10. This article explores how to use it to write Pythonic code by searching for some of the best use cases for the match statement. Keep in mind that match is still in alpha, so, while unlikely, some things may still change before the final version of 3.10 is released. (是也乎: 在 Erlang 用老的形式, 终于进入 Python, 不过, 也只是刚刚开始, 远没浸入内核, 只能当成语法糖先. ) PyQt6 vs PySide6: 两种 Python Qt 库间有什么区别? MARTIN FITZPATRICK There is a new version of Qt (version 6) and with it new versions of PyQt and PySide — now named PyQt6 & PySide6 respectively. Take a look at the latest versions of the libraries to identify the differences between them and find solutions for writing portable code. (是也乎: 表兄弟有什么不同? ) 用 Python/PyQt 和 SQLite 建立通讯录 REAL PYTHON In this step-by-step project, you’ll build a minimal contact book application using Python, with PyQt to build the application’s GUI and SQLite to handle the database. (是也乎: 真正上手项目, 可以立即让你反感 GUI 编程… ) 用 Flask/htmx 和 Tailwind CSS 进行快速原型制作 AMAL SHAJI • Shared by Amal Shaji Learn how to usee htmx and Tailwind CSS with Flask to quickly build interactive front-ends. Mu 版本 1.1.0-Beta.2 已发布 MADEWITH.MU (是也乎: 最萌 IDE 发布新版了 ) 探讨/吐糟 Discussions ...

2021-03-17 · 4 min · 1976 words · ZoomQuiet