小书:软件设计实例

原文: PyCoder's Weekly - Issue #588

pycoder

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

In this tutorial, you’ll preview one of the upcoming features of Python 3.12, which introduces a new f-string syntax formalization and implementation. The new implementation lifts some restrictions and limitations that affect f-string literals in Python versions lower than 3.12.

(是也乎:

f-string

)

“When trying to improve a slow function or module, it’s always a good idea to profile it. Here’s a snippet for quickly profiling a section of code with Python’s cProfile module.”

A straight-out list of code snippets showing off some of the weird and unexpected behavior of your favorite language.

(是也乎:

来了, 终于来了...

)


探讨/吐糟

Discussions

NULL...


文章/教程/嗯哼

Articles, Tutorials and Talks

Vector databases are all the rage today, with LLMs driving their popularity. This article breaks down nine different choices in details including how you connect to them in Python. It even points you at a few others in case you need more.

In this video course, you’ll learn how to build a socket server and client with Python. Along the way, you’ll get to know the main functions and methods in Python’s socket module, and you’ll implement a multi-connection server and client.

(是也乎:

socket )

Are you getting the most out of your Postgres database? What features could you leverage to improve your Python project? This week on the show, Craig Kerstiens from Crunchy Data is here to discuss getting the most out of Postgres.

(是也乎:

Postgres )

You might know the Rich library as the terminal color tool, but it has a few utilities in it that are generally helpful in your code. This article shows you the inspect feature that gives you loads of info on an object.

This comprehensive course gives you a step-by-step introduction to building data applications using Python, SQL, and Jupyter notebooks. It even includes an introduction to visualization using plotly and others.

This article shows you how to generate mazes using jupyter notebooks, numpy, matplotlib, and the scikit-image flood_fill function. It shows both a traditional square-cornered maze as well as a bendy labyrinth.

(是也乎:

Flood

仿生可以的...

)

This article details the different ways a text editor represents text in memory and the advantages of each. Unfortunately, the examples aren’t in Python, but there is plenty CS stuff to dig into here.

(是也乎:

只有开发过编辑器的人才知道的血坑...

)

This is CS 101 in a web friendly format. It covers the basic concepts of software design using examples, with a focus on self taught data scientists who want to bring their coding to the next level.

(是也乎:

WoW 叕一本实用小书...

)

Can you already picture real use cases for this little Pythonic gem? Learn about the bitwise-and-equal operator and where it can be used.

Python’s Developer in Residence has starting blogging again and this week he sums up his experience at EuroPython 2023.

This article looks at how to perform GET, POST, PUT, and DELETE AJAX requests in Django with the Fetch API and jQuery.

(是也乎:

回归 jQuery 感觉... 这就是自制 htmx

)

Andrew wanted to play with some untrusted Python. Read how he used seccomp and setrlimit to build a Python sandbox.

(是也乎:

不是 Docker, 而是更加嵌合的控制沙箱... 当然, 都是有现成的...

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

Pg 本身值得视为一个应用平台...

)

(是也乎:

plotoptix

)


📆🐍 活动/大会

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


历史上这周


DAMA

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

            _~~&`~_
        \/ /  ^ ◵  \ \/
          '_   ⏝   _'
          | '--#--' <

...act by ferris-actor v0.2.4 (built on 23.0303.201916)

PS:

Happy Pythoning!

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

PPS:

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

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

问为什么:

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

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

所以++> 锈周刊 -> Weekly :: China


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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

全职嗯哼: 大妈的多重宇宙 - https://www.youtube.com/@Chaos42DAMA
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开社群: 蟒营 (订阅号: Mainium)

as 创始组织者:
    CPyUG (mailling-list: python-cn@googlegroups.com)
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        AIGC珠海 


Comments


大妈的多重宇宙 - YouTube

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

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


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


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

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