原文: PyCoder's Weekly - Issue #376

realpython


Lots of bug fixes and small improvements. Full changelog here.

Playing around with new features in Python 3.8 such as assignment expressions ("walrus operator"), positional-only arguments, and runtime audit hooks.

Learn about reading and writing files in Python from the ground up. You'll cover everything from what a file is made up of to which libraries can help you along that way. You'll also take a look at some basic scenarios of file usage as well as some advanced techniques.

This article explores ways to import messy data from remote source into PostgreSQL using Python and the Psycopg2 module. The data is big, fetched from a remote source, and needs to be cleaned and transformed.

(是也乎:

简单说无论什么渠道, Pg 都吃的了, 问题压力在 Python 这边儿...

)

This post looks at how to deploy a Django app to Heroku with Docker via the Heroku Container Runtime.

(是也乎:

各家 PaaS 都用上了自己的容器平台...

)

讨论

Discussions

Related discussion on Hacker News.

(是也乎:

动态网页终于回到 汇编时代...

)

文章,教程和嗯哼

Articles, Tutorials and Talks

Get a guided tour through Python's best practices so you can write cleaner, more readable, and more Pythonic code.

(是也乎:

Pythonic

很明显, 插画师, 并不理解什么是 Pythonic

)

An interview with Henry Percival about software architecture patterns for large and complex systems, and how they translate to Python projects.

(是也乎:

DDD 在 Python , 其实...

)

Dynamic programming is breaking down anproblem into smaller sub-problems, and storing the solution to each sub-problems so we don't repeat calculations.

In this article, you will learn how to use Python's built-in help system that you can use to look up documentation directly from within a REPL session.

(是也乎:

其实内置文档非常丰富的, 只是调阅有技巧,又不支持 i18N...

)

Examples of object-oriented programming (OOP) concepts of abstraction, encapsulation of data, inheritance, polymorphism, meta-classes and decorators.

(是也乎:

古典主义 OOP

)

This article describes how to use Microsoft Azure's Face API with Python to identify faces in images and determine if they are of the same person.

(是也乎:

Azure's

在AliYun 开放人脸识别半年后, Azure 也开放了...

)

What makes Python popular? What is the average Python developer salary in the US? And how many Python programmers are there in the world?

(是也乎:

扎心了, 老铁...

11~12万$/年

)

Why type hints were added to Python and how they can help you write more maintainable code and make Python programming more enjoyable.

Dynamic arrays are a new feature in Microsoft Excel. See how they work with Python and xlwings UDFs.

(是也乎:

UDFs 为了兼容 OOXML 一直在拼命

)

Take a guess...

(是也乎:

小领域中常用代码段...

)

(是也乎:

电报频道收集到的技巧

)

(是也乎:

MATLAB 是 BMW; Python 是 Ford 皮卡; Julia 是 Tesla.

哈?

)

(是也乎:

用 Python 完成一个定期任务并不复杂, 困难的是如何保证守护真的能长期运行等待?

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

tetris

单文件游戏

git clone https://github.com/nickmpaz/tiny-tetris && cd tiny-tetris && python3 tiny-tetris.py

目的是可以在任何有网络的设备中, 随时恢复摸鱼?

)

(是也乎:

Python 程序猿整体失业指日可待?

)

(是也乎:

Toolkit

收费 GUI 调试工具

)

(是也乎:

少见的 1Password 次生工具

)

(是也乎:

叕一个全栈式框架, 只是名字都没 Django 简洁的, 很难出头.

)

(是也乎:

解决远程数据仓库和本地数据处理进程间的交互问题.

)

(是也乎:

也是个不妥协工具

)

📆🐍 活动/大会

Events

DAMA

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

开始报名, 190725截止,

课程: 0728~0908

~ helps you setup a new Python project

(是也乎:

Do With Py

总是永远有人问这个问题... 当然, 这个问题任何一个技术社区都有人在问...

其实, 本质上并不是对应技术是否有什么能力, 而是相反...

)

Jobs:

必须 Pythonic 相关

是也乎

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

Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->