Stack Overflow开发者问题2022结果出来了 原文: PyCoder’s Weekly - Issue #531 pycoder

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


探讨/吐糟

Discussions


文章/教程/嗯哼

Articles, Tutorials and Talks

  • 如何修补 requests 以具有默认超时
    • ADAM JOHNSON Python’s requests provides the ability to timeout when fetching content, but it isn’t turned on by default. If you’ve got a large code base there is a chance you have a call that could hang forever. This article describes how to monkeypatch requests to provide default timeout capabilities.
  • Python mmap: 使用内存映射进行文件 I/O
    • REAL PYTHON
    • COURSE In this video course, you’ll learn how to use Python’s mmap module to improve your code’s performance when you’re working with files. You’ll get a quick overview of the different types of memory before diving into how and why memory mapping with mmap can make your file I/O operations faster. (是也乎: mmap )
  • subprocess 模块: 用 Python 包装程序
    • REAL PYTHON In this tutorial, you’ll learn how to leverage other apps and programs that aren’t Python, wrapping them or launching them from your Python scripts using the subprocess module. You’ll learn about processes all the way up to interacting with a process as it executes. (是也乎: subprocess )
  • 不要让字典破坏你的代码
    • ROMAN IMANKULOV The dict is the go-to data structure for Python programmers, but its loose relationship to the data can be problematic in large data streams. Learn more about why you might choose a different data structure and when. (是也乎: dict 虽好, 可嫑贪杯… )
  • 字符串的 translate 和 maketrans 方法
    • RODRIGO GIRÃO SERRÃO The str methods translate and maketrans are lesser used, but helpful. You can use translate to replace characters in a string using a translation map, and maketrans helps you to build those maps. (是也乎: 内建遗珠…老爹们真的在默认模块中注入太多好东西, 以致我们都麻木了… )
  • 构建 PyScript 之前需要了解的 3 件事
    • BRADEN RIGGS PyScript is a browser-embedded python environment built on top of Pyodide. Although it is a powerful tool, there are some things you need to be careful with. Read on to find out more. (是也乎: 还早, 还早, 何时内置到浏览器了, 才大行… )
  • 如何在 Python 中模拟 Do-While 循环?
    • REAL PYTHON In this tutorial, you’ll learn how to emulate do-while loops in Python. The most common technique to do this is to create an infinite while loop with a conditional statement that controls the loop and jumps out of it using a break statement. (是也乎: Do-While )
  • Find Your Next Tech Job Through Hired
    • HIRED
    • SPONSOR Hired has 1000s of companies of all sizes who are actively hiring developers, data scientists, mobile engineers, and more. It’s really simple: create a profile with your skills for hiring managers to reach you directly. Sign up today! (是也乎: 无法创业的程序猿, 就得有兼职…永久的… )
  • Python 中 ThreadPoolExecutor 的 6 种使用模式
    • JASON BROWNLEE The ThreadPoolExecutor gives a lot of power an flexibility for concurrent code. This article describes six different patterns that can be used when coding with this context manager.
  • 用 Cinder 的 Python 延迟导入
    • GERMÁN MÉNDEZ BRAVO Instagram has implemented a lazy import mechanism to improve application loading times. This article describes why they built it and how it helps. (是也乎: Instagram 的工程经验…不简单… )

好物/妙品/

Interesting Projects, Tools and Libraries, Projects & Code


📆🐍 活动/大会

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


DAMA

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

  • Zoom.Quiet’s Chaos42 | Substack
    • 古早:新闻组式写作
    • 欢迎订阅 ACM-O (是也乎: 谈崩了, 之前通过 ACM 会员可以每年 $25 享受 O’REILLY 在线图书馆服务…现在没了 )

PS

PPS

不觉中蟒周刊快译已经到了第11个年头 开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了… 问为什么: [皱眉]每周新闻资讯 怎么能错过 看看有什么新东西 当有新的发现时: what f**k 还能这样玩? 还有这东西? 每周开彩蛋[吃瓜] 无法同意更多… 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.


好文笔,感叹号年度配额: 1/3 投稿/反馈邮箱: [email protected] (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越…)

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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)