WSL变成 Python 开发第一选择?

原文: PyCoder's Weekly - Issue #476

pycoder

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

Currently, Python’s exception handling mechanisms only allow you to focus on a single exception at a time. PEP 654, which is still in draft, aims to change that by adding to the Python language the concept of an exception group. Learn about this proposed feature in this article covering the discussion about exception groups from the 2021 Python Language Summit

We don’t often include listicles in PyCoder’s Weekly, but this was just too good of a resource to pass up. If you’re looking for some Python projects to tackle, whether your a beginner looking to learn some new skills or an advanced developer researching implementation ideas, this list of over 70 Python projects has you covered.

(是也乎:

多数都是依赖外部网关键数据集/服务的案例, 对于中国学习者意义不大...

)

Context managers are a must-know Python language feature. In this step-by-step tutorial, you’ll learn what the Python with statement is and how to use it with existing context managers. You’ll also learn how to create your own context managers.

(是也乎:

Context

with -> async with

可堆叠的特性哪, 非常赞

)

You can now watch all of the PyCon 2021 US videos on YouTube.

(是也乎:

PyCon

深夜连续剧, 已经第16季了...

)

The third alpha release of the next major version 7.0.0 is also available.

(是也乎:

CircuitPython

比树莓派 还小巧的硬件平台

)

Try out new features and provide feedback on the latest, unreleased version of PyCharm.


探讨/吐糟

Discussions

Python 3.8’s new f-string feature is a huge win for teaching and debugging!

(是也乎:

新的 f-string 是一次迟到了30年的重大调试体验增强; 革命群众们纷纷喜极而泣...

In [1]: example_variable = [1,2,3,4,5,6]

In [2]: print(f"{example_variable=}")
example_variable=[1, 2, 3, 4, 5, 6]

简单说 f-string 是一个 Python 版本的 LISP 列表计算展开器

)


文章/教程/嗯哼

Articles, Tutorials and Talks

Django Rest Framework (DRF) is a powerful framework for creating RESTful APIs in Django. Permissions in DRF allow you to limit access to a resource to a subset of authenticated users. Learn how permissions work in DRF in this in-depth tutorial. You’ll learn about DRF’s built-in permission classes, as well as how to define your own custom permissions.

What if you could create an application and deploy it to the web with just Python? Wouldn’t it be nice to skip the additional full-stack development steps of learning three different languages in addition to Python? That’s the idea behind Anvil. This week on the Real Python Podcast, we have Meredydd Luff, co-founder of Anvil.

(是也乎:

podcast

刚刚在 PyCOn2021US 上发布的 Anvil;

叕一个 Heroku 或是 glitch

关键看市场反应了...

)

Webhooks are a common way to receive data in web applications. In this hands-on tutorial, you’ll learn how to build a webhook receiver in Django — with tests!. The article strictly covers receiving data and doesn’t touch on what to do with that data, since that would be application-dependent anyway.

Sebastián Ramírez is a software developer at Explosion AI and is the creator of the popular frameworks FastAPI and Typer. In this interview, we discuss typing in Python, his motivations for creating FastAPI and the future of the framework, and much more.

(是也乎:

cc show

)

Have you heard that Windows and Python don’t play nice together? Well, it might be time to think again! In this opinion piece, author Chris Patti explains why 2021 is finally the year that Windows offers a top-notch Python development environment.

The first step to getting started with Python is to set it up on your machine. In this course, you’ll learn how to download Python for Windows, macOS, and Ubuntu Linux and how to open Python’s Integrated Development and Learning Environment, IDLE.

(是也乎:

其实也是最关键以及最难的一步

Setting

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

Designer

Tk 也 fashion 起来了? 不过, 看起来就象 electron 的...

)

(是也乎:

实时操作系统?

CircuitPython 专用?

)

(是也乎:

靠谱, 好用, 推荐过... FastAPI 这据一组合几乎就替代了 Flask.

)

(是也乎:

放心, 不支持中文 )


📆🐍 活动/大会

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

(是也乎:

即便是线上的, 一样收费.

)


DAMA

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

(是也乎:

独创 logging + debug 模块

)

(是也乎:

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

Bilibili

)

(是也乎:

私人初体验, 现在 http/https 资源混用浏览器越来越傲娇了, 最好有工具可以统一迁移...

)


PS:


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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

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

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

NN 4390

RPP


Comments


大妈的多重宇宙 - YouTube

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

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


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


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

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