pythonista-weekly : Pyw 438

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

2020-02-29 · 4 min · 1855 words · ZoomQuiet

Issue 409

PyCon2020US 按时开始注册,没受疫情影响 原文: PyCoder’s Weekly - Issue #409 200205 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200205 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 分析NBA助攻: 如何使用Python可视化数据中的隐藏关系 JP HWANG Using basketball as the background setting, the author discusses several different strategies for uncovering relationships and producing beautiful visualizations with Python. (是也乎: 其实, 前提是有老司机能先识别出关系, 才能找到数据模型来提取. ) PyCon美国2020年 Packaging 峰会:注册和主题提案 PYTHON.ORG Registration is open for the PyCon US 2020 Packaging Summit. Topic proposals are also being accepted. Both registration and topic proposals close on March 7, 2020. (是也乎: 来了, 来了, 没受疫情影响 ) Django 安全漏洞: CVE-2020-7471 MITRE.ORG Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). 用 Python 处理 PDF REAL PYTHON video In this step-by-step course, you’ll learn how to work with a PDF in Python. You’ll see how to extract metadata from preexisting PDF files. You’ll also learn how to merge, split, watermark, and rotate pages in PDFs using Python and the PyPDF2 library. (是也乎: 在中国虽然 PDF 不怎么受待见, 但是, 人家的确是世界第一通用文档格式哪 ) 生产中的 Python HYNEK SCHLAWACK Hynek Schlawack feels that discussions of Python web applications in production are missing from Python conferences. He is offering to mentor people who are interested in proposing conference talks on the subject Python 中的 Null : 了解 NoneType 对象 REAL PYTHON Learn about the NoneType object None, which acts as the “null” in Python. This object represents emptiness, and you can use it to mark default parameters and even show when you have no result. (是也乎: Python 中, 万物皆对象, 没有对象本身也是一种对象 ) PEP 584 PR 已合并 (Dictionary Union) GITHUB.COM/PYTHON This will add the following dictionary operations: dict1 | dict2 (copy + update) and dict1 |= dict2 (update). See PEP 584 for example use cases. 讨论 Discussions ...

2020-02-26 · 4 min · 1931 words · ZoomQuiet

pythonista-weekly : Pyw 437

欢迎阅读《pythonista周刊》第437期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-437 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): python开发者都需要的Vettery Vettery是一个招聘网站,它改变了人们应聘或者雇佣的方式。准备好换工作地方了吗?免费制作简历,你的薪资你说了算,现在就和顶级雇主的HR联系吧! ...

2020-02-22 · 6 min · 2745 words · ZoomQuiet

Issue 408

一起寻找完美的 Python 代码编辑器吧? 原文: PyCoder’s Weekly - Issue #408 200205 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200205 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 寻找完美的Python代码编辑器 REAL PYTHON video Find your perfect Python development setup with this review of Python IDEs and code editors. Writing Python using IDLE or the Python REPL is great for simple things, but not ideal for larger programming projects. With this course you’ll get an overview of the most common Python coding environments to help you make an informed decision. (是也乎: 真蟒引战技巧越来越好了, 无论计算机发展到哪儿, 嘦说最好的编辑器, 一定一地鳮毛的 Vim/Thonny/repl.it/Visual Studio Code/PyCharm/Jupyter 这都哪和哪儿比哪…根本比不到点儿上的… ) Python 重载函数 ARPIT BHAYANI Python does not natively support function overloading (having multiple functions with the same name.) See how you can implement and add this functionality using common language constructs like decorators and dictionaries. Related discussion on Hacker News. PEP 614 (草稿): 放宽装饰器语法限制 PYTHON.ORG “Python currently requires that all decorators consist of a dotted name, optionally followed by a single call. This PEP proposes removing these limitations and allowing decorators to be any valid expression.” For example, this would become a valid decoration: @buttons[1].clicked.connect (是也乎: 老爹支持的一则草案 希望将类似: button_1 = buttons[1] … @button_1.clicked.connect def eggs(): … 合理化为: @buttons[1].clicked.connect def eggs(): … ) 建立良善的 Python 测试 CHRIS NEJAME • Shared by Chris NeJame A collection of testing maxims, tips, and gotchas, with a few pytest-specific notes. Things to do and not to do when it comes to writing automated tests. (是也乎: 深切体会过, 好的测试, 必须有好的可测试代码配合. 否则, 太南了 ) Python 类型边缘 STEVE BRAZIER Adding more strict typing around the edges of a Python system for better error messages and design, using Pydantic and mypy. Interesting read! Python 3.9 StatsProfile DANIEL OLSHANSKY The author of the profiling API improvements coming to Python 3.9 demonstrates the feature and explains how it was added to CPython. 机器人/生成艺术和Python,我的天哪 GEOFFREY BRADWAY How to make cool looking plotter art with NumPy, SciPy, and Matplotlib. (是也乎: 简直就是抖音课程营销必备展示小视频 ) PyCon US 2020 教程时间表 PYCON.ORG Python 3.8.2rc2 可用以测试 PYTHON INSIDER 讨论 Discussions NIL ...

2020-02-19 · 6 min · 2535 words · ZoomQuiet