超现代 Python 开发环境配置

原文: PyCoder's Weekly - Issue #422

RPP

PyCoder

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

There are many ways to wait on the results of a coroutine in Python’s asyncio framework. They all have different properties and use cases. In this article, they’ve all been collected in one place to help you figure out which one you need.

Where does latency in asynchronous programs come from? Explore some common mistakes in asyncio programming, the differences between bounded and unbounded queues, and a suggestion for some best practices for programming with asyncio.

Explore the different ways of creating and modifying PDF files in Python. You’ll learn how to read and extract text, merge and concatenate files, crop and rotate pages, encrypt and decrypt files, and even create PDFs from scratch.

(是也乎:

pdf

)

How do you prevent a SQL injection? Learn about best practices and tools for checking for vulnerabilities in a codebase in this post from Django creator Jacob Kaplan-Moss.

Do you know someone in the Python community who recently was let go from their job due to the pandemic? What does the job landscape currently look like? What are skills and techniques that will help you in your job search? This week Kyle Stratis discusses how he is managing his job search after just being let go from his data engineering job.

(是也乎:

其实找工作最佳姿势还是逼工作来找你吧...

)

Opinionated guide to setting up a productive Python environment, including recommendations for testing, linting, documentation, and continuous integration.

(是也乎: 居然上了一系列原创飞行艇漫画...

Hypermodern

可以说是系列文章入口:2020年写 Python 是什么感觉;

对应 16 年那篇 写JS什么感觉,

早已不是拿起来 notepad 就能写的时代了, 各个环节,都有最佳套件等着你折腾...

当然, 到底上不上, 得看自己或是团队的问题领域...

Poetry

)

讨论

Discussions

In a DataFrame indexed by month and day, how do you change the month index from numbers, like 1, to a name, like Jan?

How well do you know the modulo operator?

(是也乎:

又是这种糟心的边界问题...

)

文章,教程和嗯哼

Articles, Tutorials and Talks

What’s the best way to request 20,000 URLs in Python? Compare the performance of synchronous requests, multiprocessing, threading, and asyncio to find out which method is the fastest and why.

(是也乎:

大厂面试核心问题.

)

Keyword-only arguments have been around for a while in Python, but you don’t see them used very frequently. Learn why keyword-only arguments are useful, and why you might want to start using them in your own code.

DigitalOcean is the cloud provider that makes it easy for developers to deploy and scale their applications. From Flask and Django apps to JupyterHub Notebook servers, DigitalOcean enables Python developers to focus their energy on creating software →

(是也乎:

用爱驱动的平台...

)

Russell Keith-Magee is a Django core developer and the founder and maintainer of the BeeWare project. In the interview, he talks about his mission to help Python become a feasible option for writing and packaging mobile applications, his PyCon 2020 talk, and more.

(是也乎:

Interview

)

Learn how to create a VS Code run configuration to attach to a Docker container and modify manage.py to start a ptvsd (Python Tools for Visual Studio Debug Server) debug server so that you can debug a containerized Django Project in VS Code.

(是也乎:

VSCode 只用一个开放插件体系就抢走了所有风光...

)

What is pip? In this beginner-friendly course, you’ll learn how to use pip, the standard package manager for Python, so that you can install and manage additional packages that are not part of the Python standard library.

(是也乎:

深刻怀念当初想用 pip ,得先手工安装两个前后依赖的包管理工具的时代...

)

Fil is a Python memory profiler specifically designed for batch processing applications that read in data, process it, and write out the result.

(是也乎:

那什么, 一见 Fil 这名字, 想起来的只能是 摩登家庭 里那位没谱老爹吧...

)

(是也乎:

其实 Mneisa 早20年就内建了.

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

作为大陆用户就关心: 有内网镜像嘛? 兼容 Pyenv 嘛?

)

(是也乎:

注意, 首先兼容 Windows Terminal 的编程字体... 这是 M$ 这么多年来首次关注终端体验哪...

)

(是也乎:

真的是30年河东30年河西;

动态网站刚刚开始时, 都是 CGI 吐所有, 网站也都是 S/C 结构的, 远程调用简直天经地义...

经过30年折腾, 又回去了...

PS: 连汇编也重新进入浏览器了...

)

📆🐍 活动/大会

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

NIL

(是也乎:

记忆中, 首次出现活动消息空窗...

不过, 中国已经接到有关通知, 允许线下集会申报了...

)

DAMA

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

101camp9py 即将报名(能开发票 ;-)

报名

课程规划:
    开始报名 2020.5.31
    报名截止 2020.6.21
    正式开课 2020.6.28
    课程结束 2020.8.09

详情 => 蟒营™ Python 入门班第9期

PS:


NN 4026

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

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

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

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

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


Comments


大妈的多重宇宙 - YouTube

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

任何问题

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

-->