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

pythonista-weekly : Pyw 459

欢迎阅读《pythonista周刊》第459期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-459 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 强化你的Selenium Python测试 你喜欢使用 Selenium,但想使用起来更简单? TestProject,一个 100% 免费的测试自动化平台,发布了支持 Python 的 OpenSDK,解决了开源自动化的最大挑战。享受在光滑的云仪表板中集成报表的乐趣。 登陆 今天就来试试吧! ...

2020-07-23 · 5 min · 2011 words · ZoomQuiet

Issue 430

Flask 这10年 原文: PyCoder’s Weekly - Issue #430 200722 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200722 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Flask 这10年: 和创造者 Armin Ronacher 的对话 REAL PYTHON podcast Armin Ronacher is a guest on the Real Python Podcast to talk about the first 10 years of Flask. You’ll hear about the origins of Flask and the components that make up the framework. Armin also talks about what goes into documenting a framework or API, and the community working on the ongoing development of the Flask project. (是也乎: 联合 Django 挤杀其它框架的10年… ) 在 Python 中使用 Interfaces, Mixins 以及构建强大的自定义数据结构 REDOWAN DELOWAR • Shared by Redowan Delowar How to supercharge Python’s built-in data structures and build powerful custom data structures with mixin classes. Profile, Understand & Optimize Code Performance You can’t improve what you can’t measure. Install in minutes. Profile and understand code’s behavior and performance (Wall-time, I/O, CPU, HTTP requests, SQL queries). Browse through appealing graphs → BLACKFIREsponsor Python 3中的面向对象编程 (OOP) REAL PYTHON In this tutorial, you’ll learn all about object-oriented programming (OOP) in Python. You’ll learn the basics of the OOP paradigm and cover concepts like classes and inheritance. You’ll also see to how instantiate an object from a class. (是也乎: 一个 OOP 养活了多少作家哪… 沉思吧, 少年, 到底何时值得用 OOP. ) 为什么不该从 PyPI 中删除软件包 GONÇALO VALÉRIO What to do if you need to deprecate a Python package that’s been published on the PyPI package repository. (是也乎: 其实, 每年各种 Python 基础教材/图书, 都在引诱初学者海量制造垃圾模块发布. 但是, PyPI 中没有自己属名的东西… ) Pandas Project: 与 Pandas 共事 REAL PYTHON With this follow-along Python project, you’ll build a script to calculate grades for a class using pandas. The script will quickly and accurately calculate grades from a variety of data sources. You’ll see examples of loading, merging, and saving data with pandas, as well as plotting some summary statistics. (是也乎: ) 用 Python 了解和解码 JPEG 图像 YASOOB KHALID Learn about the JPEG compression algorithm in this comprehensive guide to decoding JPEGs with Python. (是也乎: 所以, 为什么不是 webp ? 等等, ECUG 第4届大会, 有强人用3小时捋过 JPEG 压缩算法源代码的… 录音在: Index of /Erloung2ECUG/ErloungIV-091107-8hz {gen. by gen4idx.py v13.4.18 from Zoom.Quiet} ) Django 3.1 RC 1 发布 DJANGO SOFTWARE FOUNDATION Django 3.1 release candidate 1 is the final opportunity for you to try out the potpourri of new features before Django 3.1 is released. 讨论 Discussions ...

2020-07-22 · 4 min · 1774 words · ZoomQuiet