pythonista-weekly : Pyw 461

欢迎阅读《pythonista周刊》第461期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-461 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 使用 Datadog 监控你的python指标,日志,集群分析。使用Datadog的应用分析,可以深入任何纬度并且能找到你所需要的信息,来进行动态诊断和快速故障排除。来免费试用 14 天吧! ...

2020-08-07 · 5 min · 2377 words · ZoomQuiet

Issue 432

如何安全运行用户上传代码? 原文: PyCoder’s Weekly - Issue #432 200805 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200805 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 仍缺失 4 种强大功能 SERDAR YEGULAP Python doesn’t have true constants, nor does it implement features like tail recursion optimization that many compiled languages employ. Find out what other features Python is “missing” when compared to other languages, and why the core developers haven’t added these features to the language. (是也乎: 哪四大? 真常量; 真重载和泛型; 尾递归优化; 多行λ. 简单说, 就是 真LISP 化. ) 用 Python 自定义 Django Admin REAL PYTHON In this tutorial, you’ll learn how to customize Django’s admin with Python. You’ll use AdminModel objects to add display columns, calculate values, link to referring objects, and search and filter results. You’ll also use template overriding to gain full control over the admin’s HTML. (是也乎: 当一件软件系统功能已经无比坚固时, 对其样式进行魔改就变成了显学. ) 用 BERT 进行多类文本 深度学习分类 SUSAN LI Want to optimize your chances of getting a conference proposal accepted? A little deep learning might do the trick! 用 Rust 编写/发布 Python 模块 WILLIAM WOODRUFF And without any Rust dependencies! (是也乎: 来了, 终于来了, 今年,类似嗯哼, 一定是爆发式的. ) Python 中处理文件的实用课程 REAL PYTHON course In this course, you’ll learn how you can work with files in Python by using built-in modules to perform practical tasks that involve groups of files, like renaming them, moving them around, archiving them, and getting their metadata. (是也乎: 这在 Python 无比自然. ) 异步 Python 中一次完全初始化 CHRIS WELLONS How do you asynchronously initialize a resource in Python? Read the article to learn how to solve this problem and then follow the discussion on Hacker News. Django Bugfix 发行版本: 3.0.9 + 2.2.15 DJANGO SOFTWARE FOUNDATION Django 3.1 发布 DJANGO SOFTWARE FOUNDATION pip 20.2 发布 PYTHON.ORG • Shared by Sumana Harihareswara (是也乎: pip 作为唯一可用 Python 模块管理工具, 现在的升级越来越快了. ) 讨论 Discussions ...

2020-08-05 · 4 min · 1625 words · ZoomQuiet

pythonista-weekly : Pyw 460

欢迎阅读《pythonista周刊》第460期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-460 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 获取每周的编程量 一份每周的简报,为程序员提供最好的手工策划的新闻、文章、教程、讲座、工具和库等。 Join For Free ...

2020-07-30 · 5 min · 2372 words · ZoomQuiet

Issue 431

5个有趣的 Python 模块 原文: PyCoder’s Weekly - Issue #431 200729 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200729 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python Packages: 五个真爱 REAL PYTHON In this tutorial, several Real Python authors share Python packages we like to use as alternatives to modules in the standard library. You’ll get to know a number of useful packages, including pudb, requests, parse, dateutil, and typer. (是也乎: typer 是 FastAPI 的 CLI 包装,太帅了. 而且可以无缝使用 Click 的所有嗯哼. ) 初学者抽象指南 JESSE DUFFIELD To abstract or not to abstract. Is that the question? (是也乎: 走神?抽象? 又是 OOP 的伪装. ) XSS 开发在 Django 应用 ANTHONY SHAW Django does a lot to protect applications from cross-site scripting (XSS) attacks, but it isn’t perfect. Learn about 7 ways that Django is still vulnerable and how to protect Django applications from XSS attacks. Sans-I/O: 当 Rubber 遇到困难时 AYMERIC AUGUSTIN • Shared by Florimond Manca The creator of the websockets library shares pain points encountered and lessons learned while porting websockets to a Sans-I/O design. 用 Python 激发欢乐 MAXWELL FORBES After a fling with TypeScript, one Python programmer shares some thoughts on keeping the flame alive with Python. (是也乎: 一位 TypeScript 程序猿的 Pythonic 向往. ) Python 3.8.5 作为安全修补发布 PYTHON.ORG Python 3.9.0b5, the last beta before 3.9.0, is also available. Abigail Dogbe 荣获PSF社区 2020一季度 服务奖 CHARLES FREEBORN One woman’s passion and dedication have helped transform PyLadies in Ghana, leading to over 500 women joining the organization. (是也乎: 通过 PyLadies 活动, 引导 500+ 女士 皈依了 Python. ) 讨论 Discussions ...

2020-07-29 · 4 min · 1686 words · ZoomQuiet