slippers ~ 低代码新思路

原文: PyCoder's Weekly - Issue #491

pycoder

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

“Python 3.10, which is due out in early October 2021, will include a large new language feature called structural pattern matching. This article is a critical but (hopefully) informative presentation of the feature, with examples based on real-world code.”

(是也乎:

LISP/Erlang 在 Python 世界的恢复...

)

In this beginner-friendly tutorial, you’ll build a personal diary app in Django. You’ll use the strengths of the Django web framework and learn the basics of web development with Python.

What does that look like if you take away the Python “magic” of generator expressions and unravel them down to their core Python semantics?

A debugging post-mortem.

(是也乎:

PyPy 在 CPython 的平行宇宙玩出了自己的道路...

)

(是也乎:

断点进入现场 REPL 进行交互探索, 低配版 IDE

)

(是也乎:

没办法了, 只能先 redis 了

)


探讨/吐糟

Discussions

(是也乎:

你不能光要你以为. )


文章/教程/嗯哼

Articles, Tutorials and Talks

Python could soon take first place in one more programming language popularity ranking: “Python has never been so close to the number 1 position of the TIOBE index,” writes Paul Jansen, chief of Tiobe software. “It only needs to bridge 0.16% to surpass C. This might happen any time now. If Python becomes number 1, a new milestone has been reached in the TIOBE index. Only 2 other languages have ever been leading the pack so far, i.e. C and Java.”

(是也乎:

超越 JAVA/C++ 的唯一方式就是变成它们

)

In this course, you’ll explore the concept of passing by reference and learn how it relates to Python’s own system for handling function arguments. You’ll look at several use cases for passing by reference and learn some best practices for implementing pass-by-reference constructs in Python.

(是也乎:

Pass

进度条这种东西只是给人看的...

)

Rev.ai is the most sophisticated automatic speech recognition in the world. Our speech-to-text APIs are more accurate, easier to use, and have less bias than competitors like Google, Amazon, and Microsoft. Try Rev.ai free for five hours right now →

In this step-by-step tutorial, you’ll learn how Python’s “and” operator works and how to use it in your code. You’ll get to know its special features and see what kind of programming problems you can solve by using “and” in Python.

(是也乎:

“and”

初中知识点还是有用的.

)

This article explains how to validate phonenumbers using the phonenumbers library. It also shows how to extract the meta information (such as carrier, geographical) from a phone number.

Learn how to send emails with Python using the smtplib and email modules. You’ll also learn how to send attachments.

(是也乎:

讲真, 发送邮件不是问题, 问题是对方为什么敢收.

)

Slippers aims to augment Django’s template language with convenience features for writing reusable components.

(是也乎:

低代码新思路: 直接用模板就好

)

What the author learned from adding “else-less” functionality to Python, as inspired by Ruby.

(是也乎:

Python 如此好说话, 以至任何人都可以用任何理由将任何语言习惯形式嵌进来?

)

(是也乎:

所以, 从 Apple 开始, 世界真正推动都是 BSD 家族思考成果?

)

(是也乎:

也就是说, docker 并没有真正解决依赖管理问题? 其实, 光解决本地依赖管理并不能真正解决运行时的依赖管理...

Poetry

比如, 这种经典的环境控制, 在云中并没那么简单能作用...

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

敠一个 Pythomn 解析器, 多亏 Python 内置了语法器, 这样, 可以直接套用了...

)

(是也乎:

人民如此想念 goto 不惜一切代价... 也要在 Python 中可以 goto.

goto

from goto import with_goto

@with_goto
def range(start, stop):
    i = start
    result = []

    label .begin
    if i == stop:
        goto .end

    result.append(i)
    i += 1
    goto .begin

    label .end
    return result

)

(是也乎:

所以, 人人都在学习 win10 ?

)

(是也乎:

嗯哼? 课程也可以上众筹了? 等于先期宣传?

)

(是也乎:

slippers

不是, 你不能将模板语言不当开发语言哪...

)


📆🐍 活动/大会

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


DAMA

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

(是也乎:

独创 logging + debug 模块

)

(是也乎:

老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:

Bilibili

)


PS:

PPS:

不觉中蟒周刊快译已经到了第9个年头

去年开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...

问为什么:

[皱眉]每周新闻资讯 怎么能错过 
看看有什么新东西 
当有新的发现时:
    what f**k 还能这样玩? 还有这东西?
    每周开彩蛋[吃瓜]

无法同意更多... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.


好文笔,感叹号年度配额: 2/3

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->