匹兹堡的 PyCon US 2020 被取消

原文: PyCoder's Weekly - Issue #413

PyCoder

  • 200325 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 200325 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

“Recently, the United States and the State of Pennsylvania have asked that large gatherings be postponed or cancelled until further notice. With that in mind, the PSF has worked to reduce financial exposure and develop a plan to provide content remotely.”

(是也乎:

COVID-19

注视之下, 终于还是怂了..

)

“The developers of pip are in the process of developing a new resolver for pip (as we announced on the PSF blog last year). We aim to roll it out later this year. As part of that work, there will be some major changes to how pip determines what to install, based on package requirements.”

Some changes are being proposed to add more customization to the pprint module in Python 3.10 or later, and while a PEP hasn’t been created yet, there are some internal discussions going on debating whether or not such a change is worthwhile and what the API might look like.

A weekly Python podcast hosted by Christopher Bailey with interviews, coding tips, and conversation with guests from the Python community. The show covers a wide range of topics including Python programming best practices, career tips, and related software development topics.

(是也乎:

Podcast

也来了哪...

俺们的也有了哪: fm.101.camp 蟒营™电台 钩陈各种值得探讨

)

In this step-by-step tutorial, you’ll learn what scopes are, how they work, and how to use them effectively to avoid name collisions in your code. Additionally, you’ll learn how to take advantage of a Python scope to write more maintainable and less buggy code.

(是也乎:

LEGB

LEGB 法则真的是无上真理,

但是, 官方并没约定一个固定的形式, 所以, 导致大家都在摸索自己的...

)

讨论

Discussions

Chained comparisons, like 0 < x < 5, are shorter, cleaner, and often faster than their more complex counterparts, such as (0 < x) and (x < 5).

How do you solve a Sudoku puzzle in Python? And if the puzzle has a solution, how can you tell if the solution is unique? In this Stack Overflow question, see how the z3 SMT solver can be used to answer both of these questions.

(是也乎:

Z3 SMT 求解器...魔幻工具..

)

文章,教程和嗯哼

Articles, Tutorials and Talks

The k-Nearest Neighbors (k-NN) algorithm is a popular machine learning algorithm for classifying data. It has several neat features, including the fact that it doesn’t require a traditional training phase. While libraries like scikit-learn offer highly optimized black box implementations of k-NN, there’s no better way to understand how something works than to build it yourself. Learn how to do just that in this article from Philipp Muens.

(是也乎:

From Scratch

和 Hand First/Awesome/... 类似, 也变成了一种流行风格了...

)

“Let’s say you have a large amount of data, too large to fit in memory, and you want to load part of it into Pandas. If you’re only going to load one specific subset a single time, you can use chunking. But what if you need to load different subsets of the data at different times? Loading the whole file each time will be slow. What you need is a searchable index, and one easy (and fast!) way to do that is with SQLite.”

(是也乎:

SQLite 果断是 SQL 数据库中最快的...

)

The Levenshtein distance is a metric for measuring the “distance” between two words in terms of the number of single-character edits required to transform one word into another. In this article, you’ll learn how to implement the Levenshtein distance in Python using a dynamic programming approach.

In this step-by-step tutorial, you’ll learn all about Python’s math module for higher-level mathematical functions. Whether you’re working on a scientific project, a financial application, or any other type of programming endeavor, you just can’t escape the need for math!

(是也乎:

math

)

You don’t need to know a lot of math to be a successful programmer, but there are times when a little bit of math knowledge can go a long way. In this article, author Amit Chaudhary shows you how to translate various mathematical symbols into Python code.

(是也乎:

数学符号实在是当年数学家很的私人狂欢, 行为艺术...

搞到现在给印刷和计算机留下多少坑哪...

)

In this article, Erik Marsja shows you how to scrape HTML tables using Pandas read_html(). You’ll first see how read_html() works by reading a simple table from an HTML string. Then you’ll take it up a notch and scrape some data from Wikipedia.

(是也乎:

其实...还是用专业模块吧, Pandas 作更加擅长的...

)

“With the open-source Python community at large dropping Python 2.7 support in their projects, Twisted has decided to do the same. Twisted 20.3.0, the most recently released version, is the final release to offer Python 2.7 support.”

(是也乎:

类似这种就没办法了... Py 2 的远去, 还是得全宇宙大力夯实才可能真正落实的...

)

The Dropbox engineering team shares some reflections on what it took to rewrite the Dropbox sync engine (a 4+ year project!) and how they ultimately decided to scrap their Python code and rewrite the system in Rust.

(是也乎:

嗯哼? 现在用 Rust 来重构是政治正确了?

)

Follow-up to last week’s post where James discussed the drawbacks of using a service layer architecture for building Django apps.

Learn how to use the NumPy arange() function, which is one of the routines for array creation based on numerical ranges. np.arange() returns arrays with evenly spaced values

(是也乎:

NumPy

NumPy 是好东西, 但是, 直接用, 还是有点儿囧的...

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

项目名本身就是项目的意义...

)

(是也乎:

这个, 有点象先吃好, 看着给点儿的意思...

)

(是也乎:

Z3Overall

哦哦,支持多种语言的 定理推导 语言.

M$ 研究院还是隐藏着很多神仙想法的...

)

(是也乎:

Lambda

对 Lambda 的增强支持

)

(是也乎:

fluids

屌的..

)

(是也乎:

itomate

挺美的...只是 tmux/screen 之后, 这种针对 iterm 的增强, 有什么使用场景?

)

(是也乎:

PySimpleGUI

GUI 框架都来蹭热点了...

)

📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

(是也乎:

nCoV 最新海外信息

文科生的战斗, 虽然没办法象 wuhan2020 们那样快速组织工程师, 先于国家完成各种实用系统;

但是, 文科生通过大量海外报道的浏览/对比/翻译/报道/...

可以帮助人们通过真实世界的反应, 来更好的理解当前状态.

而且, 一个完全没有技术基础的文科团队, 自然通过 github 完成所有协同, 实在..感动 -> github 太好用了.

)

PS:


NN 3963

好文笔,感叹号年度配额: 1/3


ZoomQuiet/大妈

就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 核心组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->