原文: PyCoder's Weekly - Issue #387

PyCoder

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

Learn the basics of using pdb, Python's interactive source code debugger. pdb is a great tool for tracking down hard-to-find bugs, and it allows you to fix faulty code more quickly.

(是也乎:

调试

这是屠龙技,轻易用不上, 真要用上了, 也说明已经身陷焦油坑, 难以逃离了...

)

"A co-worker of mine attended a technical talk about how Go's module mirror works and he asked me whether there was something there that Python should do."

(是也乎:

这真心是件基础又忧心的事儿...

好在, 一直有标准精良自检方案

)

Also see the related discussion on Reddit.

(是也乎:

多年媳妇, 熬成??? 叕一例...

)

Fun read about the challenges of naming and renaming open-source projects.

The PyCascades call for proposals is open until October 1st.

讨论

Discussions

(是也乎:

Freelance -> 自由职业的...

这在中国等于无业游民...

)

(是也乎:

万年老梗...

conda 系做到热议...这真的是挖到了一个刚需... 怪不得 Anaconda 成立公司, 专心支持预编各种语言环境的快速提供了...

反正,俺折腾了很多, 还是老实本分用 Pyenv:

TS3: Pyenv 最终介绍 — Blogging 蟒营™ 博客

)

文章,教程和嗯哼

Articles, Tutorials and Talks

Get the tools you need to start making asynchronous programming techniques a part of your repertoire. You'll learn how to use Python async features to take advantage of IO processes and free up your CPU.

(是也乎:

异步入门

开始异步很简单, 问题是业务兼容性和调试可控性...

)

"Pretty much every Python programmer out there has broken down at one point and and used the 'pickle' module for writing objects out to disk. [... ] However, using pickle is still a terrible idea that should be avoided whenever possible."

(是也乎:

简单说, 用 -> JSON

)

Use Python's subprocess module to execute instructions inside a Docker container that builds and tests your code in an automated CI/CD system.

(是也乎:

一定要手撸嘛?

)

Learn all about Thonny, a free Python Integrated Development Environment (IDE) that was especially designed with the beginner Pythonista in mind. It has a built-in debugger and allows you to do step-through expression evaluation.

(是也乎:

就没有 IDE 是为了友好而发明的...

Thonny

等等:

Thonny

基于 Tk 开发的 IDE ?

...Raspbian系统中直接自带的Python IDE

嚓...这个屌了...

)

Matplotlib titles have configurable locations. And you can have more than one at once... This short tutorial shows you how to use this feature.

(是也乎:

这可能就是最不 Pythonic 的部分了...

)

Analyzing Game of Thrones data to identify character importance, factions and gender interactions using Network Theory and Python.

(是也乎:

叕一个权戏精,利用技术来回味儿...

网络理论

杀灭关系...

)

You'll learn what the functional paradigm is as well as how to use the basics of functional programming in Python.

(是也乎:

函式

emoji 达人...

)

How to enhance your images with colored filters and add border backgrounds using Python and OpenCV.

(是也乎:

等等, 不是就内置的 Matplotlib?

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

An extension for the Hypothesis project that enables fully automatic tests for type annotated functions.

(是也乎:

hypothesis

梦想总得有...万一呢.

)

Comparison grids to help you find great Python packages for your projects.

(是也乎:

重大褔音...对选择困难症患者的有效拯救...

将 Python 世界中各种模块, 进行对比, 以便第一时间用上对的...

Web Frameworks

当然, 也可以效果相反...

因为, 基本都是按 github 星数来排列的...

)

(是也乎:

自动将 CLI 工具翻译为 GUI 界面?

Gooey

而且:

Gooey

这个脑洞可以哪....

只是: 基于 wxPython, 那么发行也不件简单的事儿...

)

(是也乎:

放心, 不支持中文

)

(是也乎:

PDDL ~ 叕一个全新概念语言, 的 Python 包装器...

)

(是也乎:

叕一个 Python 运行时环境管理工具:

使用全新 nix 发行, 进入/出 要明确指令; 其它和 pyenv 们并无突出不同.

)

📆🐍 活动/大会

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

(是也乎:

大妈去 南宁 嗯哼 )

(是也乎:

PyWeek

纯线上周任务通关:

PyWeek 28 challenge: "Tower"

)

DAMA

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

第3期已开课, 为期6周; 191103 按时结束, 到时再约 4py ;-)

(是也乎:

没想到触发出一个 DoIs ~ 真正实用的 AI 落地方向: 辅助识别野外白海豚...

)

是也乎

NN 3781


Comments