pythonista-weekly : Pyw 487

欢迎阅读《pythonista周刊》第487期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-487 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Get Your Weekly Dose of Programming A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free 文章、教程与话题 从零开始的完整机器学习项目 一系列文章介绍了如何从零开始构建一个基于机器学习的假新闻检测器。 用USB加密狗和开放源码对DNA进行测序 它进行了你可以想象的最精致的测量,记录了与DNA不同位相关的电流变化。 Python Concurrency: The Tricky Bits 探讨 Python 中的线程、进程和协程,并通过有趣的例子来阐明每种线程、进程和协程之间的差异。 为什么你真的需要升级pip 如果你使用的是旧版本的 pip,那么安装最新版本的 Python 包可能会失败,或者安装速度更慢、更复杂。为什么呢?glibc 版本管理、CentOS 的报废时间表以及 pip 安装包的方式的组合。让我们看看问题到底是什么,如何解决它,最后–如果你有足够的兴趣–是什么原因造成的。 RSVP for the 3rd Annual Python Web Conference (Virtual) | March 22-26, 2021 Experts discuss hard Python problems. 50+ talks on Machine Learning, AI, Big Data, Django, Plone, Serverless, CI/CD, Containers, etc. Join JetBrains and Six Feet Up to discuss what the future holds. SPONSOR How to Write Unit Tests in Python, Part 1: Fizz Buzz 这是一个关于如何编写 Python 单元测试系列的第一部分,介绍了作者在项目中使用的测试设置,如何为一个流行的 fizz buzz 游戏的实现编写单元测试,这也是编码面试练习中经常出现的问题。 Efficiently Cleaning Text with Pandas Pandas 可以成为高效清理大量文本的优秀工具。本文介绍了几种对较大数据集有效的 pandas 解决方案。 Building web apps with Vue and Django 这篇文章介绍了一些将 Vue 和 Django 结合起来设置新的 Web 应用和现有的基于 Django 的 Web 应用的方法。 编写一个深度学习年龄预测模型只需10分钟 Pattern Matching Tutorial Python 字符串是不可变的,但只是在某些时候 理解和优化Python多进程内存管理 An interesting issue around using is with a literal in Python Building Rich terminal dashboards ...

2021-02-19 · 3 min · 1287 words · ZoomQuiet

Issue 460

PEP 8 之歌 原文: PyCoder’s Weekly - Issue #460 210217 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210217 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. PEP 634: 结构模式匹配 ( match / case ) PYTHON.ORG A few links related to PEP 634, which will add structural pattern matching to Python via a new match/case statement: PEP 634 (Specification), PEP 635 (Motivation and Rationale), PEP 636 (Tutorial & Examples) Python 字符串是不可变的/但仅在有时是 AUSTIN HENLEY It turns out you can mutate a string in Python… sort of. (是也乎: 困难的总是不时点 ) 用 Pandas 轻松解决困难的数据分析问题 MARTIN • Shared by Martin A great strategy to use when faced with a tricky data analysis problem is to reshape the dataset into a format that turns it into an easy problem. In this article, you’ll look at an example involving a simple calculation and extensive reshaping in pandas. (是也乎: 数据分析并不难, 难就难在: 如何清洁原始数据, 以及事先形成偏见. ) 用 Pandas 有效清洗文本 CHRIS MOFFITT In this article, you’ll see some examples of cleaning text fields in a large data file and learn several strategies for efficiently cleaning unstructured text fields using Python and pandas. (是也乎: Pandas 也变成一个通用数据清洁机了..,.. ) 构建富终端仪表板 WILL MCGUGAN Learn how to use the Rich CLI library’s new terminal dashboard feature. (是也乎: 基本上这种界面也只有影视作品中值得用, 现实中, 包含一点儿中文就全部错行了… ) 带 gRPC 的 Python 微服务 REAL PYTHON Learn how to build a robust and developer-friendly Python microservices infrastructure using gRPC and Kubernetes. You’ll also explore advanced topics such as interceptors and integration testing. (是也乎: 这个插图比较马虎… ) Python 3.7.10 和 3.6.13 安全更新现已发布 CPYTHON DEV BLOG 探讨/吐糟 Discussions ...

2021-02-17 · 4 min · 1862 words · ZoomQuiet

pythonista-weekly : Pyw 486

欢迎阅读《pythonista周刊》第486期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-486 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Get Your Weekly Dose of Programming A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free 新闻 Pattern matching accepted for Python 经过一系列讨论,Python 指导委员会接受了有争议的提议,即在语言中添加模式匹配原语。 ...

2021-02-12 · 3 min · 1470 words · ZoomQuiet

Issue 459

指导委员会接受 PEP 634 原文: PyCoder’s Weekly - Issue #459 210210 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210210 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 的整数如何工作 VICTOR Python’s integer datatype is pretty different from most other languages because they allow arbitrary precision. Learn how integers work under the hood in this in-depth article. Python 初学者友好与对高级用户支持功能之间纠结 ANDRÉ ROBERGE Python has made some big improvements to tracebacks in recent versions. See how tracebacks have evolved over the last couple of major releases and where there’s still some work left to be done. Check out the discussion on Hacker News. 在 Cython 中实现 C++ 虚函式 JUAN DIEGO CABALLERO • Shared by JDC Learn how one team created Python bindings for a C++ library by implementing virtual functions in Cython. This article is a follow-up to an article we featured last year. 用 hypothesis 基于属性的测试以及相关用例 YING WANG Testing software is hard. Property-based testing can help you create more effective tests. Learn how to do property-based testing with the hypothesis framework by looking at some real-world use cases. (是也乎: 不是那个 珢神… ) Python 指导委员会接受 PEP 634 PYTHON.ORG Pattern matching, which adds a kind of switch-case statement to Python, has been accepted. (是也乎: PEP 的受理速度越来越快了 ) 用 Pip 和 Virtualenv 管理 Python 依赖关系 REAL PYTHON course Get up to speed with Python dependency management quickly and go from “writing scripts” to “building applications” with this complete course. (是也乎: ) 探讨/吐糟 Discussions ...

2021-02-10 · 4 min · 1696 words · ZoomQuiet