2023 年 Python 三大趋势 原文: PyCoder’s Weekly - Issue #563 pycoder

  • 230208 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
  • 230208 Zoom.Quiet(大妈) 用时 13 分钟 完成快译

  • 用 Python 和 Rich 构建 Wordle 游戏
    • REAL PYTHON 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 Rich 这个项目名起的太好了… )
  • 将 Python WASI 支持添加到 Wasm 语言运行时
    • ASEN ALEXANDROV “This article provides an overview of how Python works in WebAssembly environments and provides a step by step guide on how to use it.” See also the associated Hacker News Conversation.
  • 2023 年 Python 的三大趋势
    • JERRY CODES An opinion piece on three trends likely to attract attention in the Python world in 2023: Python/Rust co-projects, web apps, and more typing. Read on for examples in each category. (是也乎:
2023.py
+ 为 rust 服务
+ Web apps
+ 加强安全

对了 CharGPT 也有自己的猜想… 好象现在写文章不带上 ChatGPT 就不完整一样… )


探讨/吐糟

Discussions

  • 动态语言的优点和缺点
    • HACKER NEWS This conversation is around Luke Plant’s excellent article Python’s “Disappointing” Superpowers that describes specific uses of Python’s dynamic capabilities that wouldn’t be possible in a static typed language. (是也乎: 很多功能在静态语言中是不可能实现的… )

文章/教程/嗯哼

Articles, Tutorials and Talks

  • Django 部署的真正考虑
    • JAMES WALTERS
    • • Shared by James Walters Beginners often stumble when it’s finally time to get their Django app online. Instead of another deployment recipe, this post seeks to explain the fundamental concepts of deploying a Django app and equip developers to think through the process for themselves when they’re ready to make the transition from their code editor to the web. (是也乎: 反正没那么简单, 即便是有 docker 可以一把梭了… )
  • 为 Flask API 构建 JavaScript 前端
    • REAL PYTHON Most modern websites are powered by a REST API. That way, you can separate the front-end code from the back-end logic, and users can interact with the interface dynamically. In this step-by-step tutorial, you’ll learn how to build a single-page Flask web application with HTML, CSS, and JavaScript. (是也乎: Frontend )
  • 渐进的稳健性: 来自静态 Python 的经验教训
    • LU, GREENMAN, MEYER, ET AL A synopsis of a deep paper analyzing Static Python, a Python variant developed at Instagram to move from gradually-typed to statically-typed. Full paper available as PDF.
  • Python 中的字典调度模式
    • MARTIN HEINZ The dictionary dispatch pattern uses a dict to store references to functions, allowing you to replace long if/else statements or as an alternative to the match statement. Read on for how and where to use it. (是也乎: 常用技巧哪, 之前只用过其中两种, 没想到可以玩出这么多花儿来… )
  • Python 中的 5 个常见 Asyncio 错误(以及如何避免它们)
    • JASON BROWNLEE Asyncio is one of several methods of doing parallelism in Python. It uses a co-routine structure. This article describes five common errors people new to asyncio may make and how to avoid them.
  • 在 Python 包中包含 Rust Crate
    • PETER BAUMGARTNER It is becoming increasingly common to ship Rust components as part of a Python package. This blog post is a dev journal on how Peter did just that with one of his packages. (是也乎: 这个脑洞可以哪, 将 rust 的绘制库自动编译安装给 py 来用… PS: 项目名称由 ChatGPT 建议而得, 这波秀到了 以往都是用 C 项目来包含的,现在迁移到 Rust 实现的原因是… )
  • 用计算机视觉玩 DS 游戏
    • MEDIUM.COM/@NATHANCOOPERJONES
    • • Shared by Nate Jones This posting is about how to use an object detection model to control a DS emulator to become an expert in playing the Super Mario 64 DS minigame “Wanted!”
  • 如何将 C 风格的 for 循环添加到 Python
    • TUSHAR SADHWANI Ever want a C-style for-loop in Python? No? Well you can have one anyway. See how Tushar implemented with for (i := var(0), i < 10, i + 2):
  • 用 Protocol 修复 Python 中的循环导入

好物/妙品/

Interesting Projects, Tools and Libraries, Projects & Code


📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心


DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)


PS

Happy Pythoning!

Copyright © 2023 PyCoder’s Weekly, All rights reserved.

PPS

不觉中蟒周刊快译已经到了第11个年头 开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了… 问为什么: [皱眉]每周新闻资讯 怎么能错过 看看有什么新东西 当有新的发现时: what f**k 还能这样玩? 还有这东西? 每周开彩蛋[吃瓜] 无法同意更多… 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.


好文笔,感叹号年度配额: 0/3 投稿/反馈邮箱: [email protected] (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越…)

ZoomQuiet/大妈 就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)