pythonista-weekly : Pyw 488

欢迎阅读《pythonista周刊》第488期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-488 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): PyCharm Pro is a smart Python IDE that simplifies complicated programming experiences with out-of-the-box support for Python web frameworks, frontend libraries, and databases. Use the discount code PYTHONWEEKLYFEB by the end of March and try PyCharm Pro for three months free! ...

2021-02-27 · 4 min · 1630 words · ZoomQuiet

Issue 461

Happy Birthday, Python;-) 原文: PyCoder’s Weekly - Issue #461 210224 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210224 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 并发: 棘手问题 HAMEL HUSAIN An exploration of threads, processes, and coroutines in Python, with interesting examples that illuminate the differences between each. (是也乎: 类似 CAP 法则, 嫑想同时什么好处都有; 通过其它经过考验的高并发能力系统转移矛盾, Py 安心作自己擅长的事儿就好. ) 为什么真的需要升级 Pip ITAMAR TURNER-TRAURING If you’re using an old version of pip, installing the latest version of a Python package might fail—or install in a slower, more complex way. Learn what the problem is exactly, how to solve it, and what causes it. (是也乎: 官方广告.. 其实, 不用任何 pip 指令就能完备部署的系统才是合格的生产系统. ) 用 Python 每秒12个请求 SUADE.ORG How much should we trust framework benchmarks? And to what extent should they influence your choice of technology? (是也乎: 嗯哼? 这就是打脸了… 标准化是技术到一个大平台期了, 大家无法作到差异化时… ) Python & APIs: 读取公共数据的成功组合 REAL PYTHON Learn what APIs are and how to consume them using Python. You’ll also learn some core concepts for working with APIs, such as status codes, HTTP methods, using the requests library, and much more. (是也乎: 其实, 开放数据接口, 最要命的一点就是: 嫑乱变 嘦是一个版本的接口, 无论多不合理, 发布后就没改, 否则, 对应下游系统就囧了. ) Python 字符串如何工作 VIKTOR SKVORTSOV Learn the ins and outs of how Python strings work, with a focus on how text is encoded and represented internally. (是也乎: 老爹最心塞的一次架构, 导致最后 2->3 无法兼容 ) Python 3.X至3.9.1的缓冲区溢出可能导致远程执行代码 NIST.GOV Upgrade to 3.8.8 or 3.9.2 to avoid the issue. 探讨/吐糟 Discussions ...

2021-02-24 · 4 min · 1958 words · ZoomQuiet

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