pythonista-weekly : Pyw 456

欢迎阅读《pythonista周刊》第456期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-456 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Why People Love the Powerful Python Newsletter Want to go “beyond the basics?” This daily newsletter is NOT for beginners. “Thanks for the awesome newsletter! I look forward to your emails.” “Python needs tougher treatment than what’s out there. Keep going, don’t ever stop.” Subscribe free now. Python 高阶新闻走一遭? ...

2020-07-04 · 5 min · 2400 words · ZoomQuiet

Issue 427

机器狗已在公开发售,支持用 Python 对其编程… 原文: PyCoder’s Weekly - Issue #427 200701 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200701 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. PEP 622: 结构模式匹配 PYTHON.ORG This PEP proposes adding pattern matching—a sort of enhanced switch statement—to the Python language. Read the PEP at the link above and follow the discussion on Reddit. (是也乎: def is_tuple(node: Node) -> bool: match node: case Node(children=[LParen(), RParen()]): return True case Node(children=[Leaf(value="("), Node(), Leaf(value=")")]): return True case _: return False 这非常 Elixir 了. ) ...

2020-07-01 · 4 min · 1863 words · ZoomQuiet

pythonista-weekly : Pyw 455

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

2020-06-27 · 6 min · 2931 words · ZoomQuiet

Issue 426

DjangoCon US 2020 取消了 原文: PyCoder’s Weekly - Issue #426 200624 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200624 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 动手线性编程: 用 Python 进行优化 REAL PYTHON In this tutorial, you’ll learn about implementing optimization in Python with linear programming libraries. Linear programming is one of the fundamental mathematical optimization techniques. You’ll use SciPy and PuLP to solve linear programming problems. (是也乎: 线性规划, 经典的最优解区域寻定方法, 当然, 这得在具体问题场景中才有意义. ) OpenSafely: 用 Python/SQL和Docker 理解冠状病毒健康数据 JO BEST Django and Payton developers teamed up with clinicians and researchers to release a new analytics platform called OpenSafely that allows researchers to analyze NHS health records from over 24 million people In the UK. With strict safety and privacy standards, OpenSafely may help redefine how medical data is analyzed and shared. PEP 618 已为 Python 3.10 接受:向 zip() 添加可选长度检查 PYTHON.ORG PEP 618, which adds a new strict parameter to the built-in zip() function that optionally enforces same-length iterables, has been accepted for Python 3.10. Read the acceptance letter here and some interesting discussion about the PEP on Reddit. Pickle 的九个缺点 NED BATCHELDER “Python’s pickle module is a very convenient way to serialize and de-serialize objects. It needs no schema, and can handle arbitrary Python objects. But it has problems. This post briefly explains the problems.” (是也乎: 腌菜V5, 无论有多不健康, 好用才是王道. 当然, 有更好的推荐了: marshmallow(软糖推荐) , cattrs , protocol buffers , 等等 ) PyLadies 印度踏上征途 ANWESHA DAS On June 20th, 2020 PyLadies India held their first Meetup featuring a talk by CPython Core Contributor Mariatta Wijaya. Organizer Anwesha Das recounts her PyLadies journey and the steps the organization took to make the meetup a reality. (是也乎: 印度就是猛哪… ) 用 Let’s Encrypt 保护容器化 Django 应用程序的安全 TESTDRIVEN.IO • Shared by Jan Giacomelli Secure a containerized Django app running behind an HTTPS Nginx proxy with Let’s Encrypt SSL certificates. 在为 pandas 贡献时学到的高级pytest技术 MARTIN WINKEL Contributing to open-source projects is a great way to learn new techniques and level up your skills. Martin Winkel shares five advanced pytest techniques he learned while contributing to the pandas project. (是也乎: 每一个高速发展的大型开源项目中, 测试部分, 都是精巧的艺术品. ) NumPy 1.19.0 现已可用 NUMPY.ORG Version 1.19.0 drops support for Python 3.5 and below, including Python 2. (是也乎: Pandas 真正的内核以及英雄… ) 2020 年 Python 软件基金会董事会选举结果 PYTHON SOFTWARE FOUNDATION DjangoCon US 2020 取消了 DJANGO SOFTWARE FOUNDATION 讨论 Discussions ...

2020-06-24 · 5 min · 2343 words · ZoomQuiet