Python 3.11 超COOL特性
原文: PyCoder's Weekly - Issue #548
- 221026 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
- 221026 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- Python 3.11: 值得尝试酷炫新功能
- REAL PYTHON
Python 3.11 is out! In this article, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python.
(是也乎:
)
- 在 Django 中导入数据实现“Dry Run Mode”
- ADAM JOHNSON
In data import processes it’s often useful to have a “dry run” mode that runs through the process but doesn’t actually save the data. This can allow you to check for validity and gather statistics, such as how many records already exist in the database. This post looks at how to implement a dry run mode in Django using database transactions.
(是也乎:
作者是位多产程序猿, 专门为网站选择了颜色Colophon 非常 OREILLY ;-)
)
- 3.11 发布关乎培育社区和管理
- REAL PYTHON
- PODCAST
Does your company have a plan for growing an internal Python community? What are the attributes to look for when bringing someone into your department? This week on the show, Pablo Galindo Salgado returns to talk about building community through the Python Guild at Bloomberg and managing the release of Python 3.11.
(是也乎:
)
- 防御性编码指南: Python
- FEDORAPROJECT.ORG
This guide is part of a multi-language document describing how to write security conscious code. Check out the recommendations for Python from the Fedora Project.
(是也乎:
嗯哼? Pythonic 流派不是应该不折腾这种风格的?
)
- PyCascades 2023 提案征集
- PYCASCADES CONFERENCE
探讨/吐糟
Discussions
- Python 中的单引号或双引号字符串?
- BOB BELDERBOX
(是也乎:
老梗了...
原先说一样的, 但是, 其它语言都玩儿出花了... Python 也就开始了...
)
- 在远程工作彩虹尽头 -> 冇黄金?
- HACKER NEWS
(是也乎:
还是得看对应产品... 隔壁不刚刚报道了? 一个公司一个人, 每年收入一个亿...
)
- Find Your Next Tech Job Through Hired
- HIRED
- SPONSOR
Hired has 1000s of companies, from startups to Fortune 500s, who are hiring developers, data scientists, mobile engineers, and more. Create a profile with your skills and preferences for hiring managers to reach you directly. Sign up today!
(是也乎:
这则赞助广告对比上则吐糟, 简直了...
)
文章/教程/嗯哼
Articles, Tutorials and Talks
- 在 Python 中使用 AI 构建玩家引擎来通关井字游戏
- REAL PYTHON
In this step-by-step tutorial, you’ll build a universal game engine in Python with tic-tac-toe rules and two computer players, including an unbeatable AI player using the minimax algorithm. You’ll also create a text-based graphical front end for your library and explore two alternative front ends.
(是也乎:
原来这叫 Tic-Tac-Toe
)
- 5 循环技术获得 Pythonic 姿势
- TANSEER SAJI
If you’re coming from other programming languages, your approach to loops may not be idiomatic. This article covers five techniques to write more Pythonic loops, including examples for range(), zip(), reversed(), enumerate(), and sorted().
(是也乎:
还是名称问题哪...
5个经典近代函式, 经常视而不见...
)
- Matplotlib 坐标系: 在 Python 中绘制数学函数
- JOHN LOCKWOOD
Setting up Matplotlib coordinates and X and Y axes can be tricky. This article walks you through plotting both linear and nonlinear functions, allowing you to create graphs in Python the way you might in a graphing calculator.
- Python 基础: 数字和数学
- REAL PYTHON
- COURSE
In this video course, you’ll learn the math that you’ll need for your Python programming journey. This includes integers and floating-point numbers, arithmetic operators, and string formatting for numbers.
(是也乎:
)
- Python 命令行技巧
- MARTIN HEINZ
- • Shared by Martin Heinz
Using python -m you can do all sorts of things from the command line, including: starting a webserver, opening a browser, parsing JSON, compressing files and much more.
(是也乎:
越来越多 CLI 工具可以用 Python 统一替代 甚至于, 这些技巧, 早已融合到 Python 开发终端中了... 问题在...资源撑得住这么玩嘛?
)
- 在 Python 中使用 Linting 提高代码质量
- KESHAV MALIK
Linting checks your code for errors before you run it. This hands-on article explores how to perform quick linting checks in Python using Pylint.
(是也乎:
作为动态语言, 可能代码规范带来的收益, 并没比起好一系列变量名来的多...
)
- 一种在终端中绘制框的新(?)方式
- WILL MCGUGAN
With clever use of some of the Unicode border characters you can build a better box around your text without any color bleeding.
(是也乎:
为什么画盒子这么重要? 毕竟这是一切的基础...
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
-
sqlite-fts4: 使用 SQLite FTS4 的 Python 函数
- GITHUB.COM/SIMONW
-
- GITHUB.COM/SQUAREDEV-IO
(是也乎:
AI 为什么要可解释?
)
- 190 种有源代码 Python 项目
- AMAN KHARWAL
(是也乎:
海量阅读优秀项目的代码, 也是种关键自学好习惯...
)
-
django-pgtransaction: Postgres 事务替换
- GITHUB.COM/OPUS10 • Shared by Paul Gilmartin
-
python-preloaded: 绑定 Python 和预加载模块
- GITHUB.COM/ALBERTZ
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- October 26, 2022
-
- October 26, 2022
-
Weekly Real Python Office Hours Q&A (Virtual)
- October 26, 2022
-
- October 27 to October 29, 2022
-
- October 31, 2022
-
- November 3 to November 7, 2022
-
- November 3 to November 5, 2022
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- Zoom.Quiet’s Chaos42 | Substack
- 古早:新闻组式写作
- 欢迎订阅
PS:
PPS:
不觉中蟒周刊快译已经到了第11个年头
开始有小伙伴加入承担 pythonisa
周刊的翻译,
从来没提醒过, 可就这么默默坚持下来了...
问为什么:
[皱眉]每周新闻资讯 怎么能错过
看看有什么新东西
当有新的发现时:
what f**k 还能这样玩? 还有这东西?
每周开彩蛋[吃瓜]
无法同意更多
...
很多社区贡献看起来辛苦,
其实受益最多的,
就是主动承担者也.
好文笔,感叹号年度配额: 1/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments