原文: PyCoder’s Weekly - Issue #368 realpython

  • CPython 3.8.0a4 已可测试
    • PYTHON.ORG Among the new major new features and changes so far: Assignment expressions (PEP 572), Positional-only arguments (PEP 570), multiprocessing can now use shared memory to avoid pickling, typed_ast is back.
  • 用 Python 播放和录制声音
    • REAL PYTHON In this tutorial, you’ll learn about libraries that can be used for playing and recording sound in Python, such as PyAudio and python-sounddevice. You’ll also see code snippets for playing and recording sound files and arrays, as well as for converting between different sound file formats. (是也乎: Sound 总之有太多模块可以使用, 但是, 没有完美解决所有问题的… 所以, 要组合来嗯哼… 推荐外部专用软件来嗯哼, python 就进行管理就好. )
  • Dropbox 客户端如何用 Python
    • ANVILVENTURES.COM “This blog post talks about reverse engineering the Dropbox client, breaking its obfuscation mechanisms, de-compiling it to Python code as well as modifying the client in order to use debug features which are normally hidden from view.” (是也乎: litb_tracing 终于有人站出来分析靠谱的 py 客户端技巧了… litb_debugging 虽然有麻烦, 但是, 都能嗯哼掉 )
  • Python GIL 是否已 Slain?
    • ANTHONY SHAW A discussion of PEP554 (subinterpreters) and how it relates to the global interpreter lock (GIL) in CPython. (是也乎: 有关 PEP 的讨论越来越公开了… 毕竟, BDLF 退位了, 大家终于能愉快的吵架了… )
  • PEP 554 将终结 GIL 嘛?
    • PYTHON BYTES podcast Another discussion of subinterpreters (PEP 554) and how they will allow true in-process parallelism.
  • 可能不会在 Python 3 中使用的, 但, 应该
    • VINKO KODŽOMAN (是也乎: 叕一则鼓动使用 py3 新特性的文章… 问题是, 用 py2 的经验来写 py3 并无太大不同哪… )

讨论

Discussions

文章,教程和嗯哼

Articles, Tutorials and Talks

  • Python 应用的最佳 Docker 基础映像
    • ITAMAR TURNER-TRAURING Which Docker image should you use for your Python app? There are many choices, and it may not be obvious which is the best for your situation. This article gives you a good overview of the current options available. (是也乎: 嫑用 Alpine Linux 嫑用 Alpine Linux 嫑用 Alpine Linux )
  • 用 PyLint 编写更干净的 Python 代码
    • REAL PYTHON video In this video series you’ll see how to install and set up the PyLint code linter tool. You’ll learn why you should use code linters like PyLint, Flake8, PyFlakes, or other static analysis tools—and how they can help you write cleaner and more Pythonic code. (是也乎: PyLint 嗯哼, 这次插图就不搭调了… )
  • 用 Python 查找最便宜的多程旅行航班
    • NVBN.GITHUB.IO “I was able to find the cheapest flights with the minimal duration and the resulting prices were almost the same as on Google Flights.”
  • Python 3.8 中的 F字符串调试
    • TIRKARTHI.GITHUB.IO F-Strings will get a = format specifier that expands like a macro into <variable_name> = <value_of_variable> to serve as a debugging aid.
  • 让 Google 知道您 Django 网站中的其他语言
    • HAKI BENITA If you have a public facing Django site in multiple languages, you probably want to let Google and other search engines know about it. This article shows you the minimal setup necessary to support this use case.
  • Pandas 输出风格化
    • CHRIS MOFFITT Pandas has a relatively new API for styling output. This article shows examples of using the style API.
  • Django 搜索教程
    • WILLIAM VINCENT How to add basic search functionality to any Django website.
  • Python Dicts 和内存使用
    • REUVEN LERNER
  • 在 Python 中用 Altair 进行大部分可视化的原因
    • FERNANDO IRARRÁZAVAL (是也乎: 叕一个声明式数据可视化库, 但是, 和 Bokeh 相比, 都少了一个 HTML 输出能力 )

好物

Interesting Projects, Tools and Libraries

📆🐍 活动/大会

Events

DAMA

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

Jobs

  • 北京文因互动诚招 Pythonner: +

是也乎

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