Issue 410

EOF不是字符 原文: PyCoder’s Weekly - Issue #410 200304 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200304 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Python Requests 高级用法 DANI HODOVIC “While it’s easy to immediately be productive with requests because of the simple API, the library also offers extensibility for advanced use cases. If you’re writing an API-heavy client or a web scraper you’ll probably need tolerance for network failures, helpful debugging traces and syntactic sugar.” EOF不是字符 RUSLAN SPIVAK Do you know how an application knows when a read operation reaches the end of a file? In this interesting read, explore what EOF (end-of-file) really is by writing your own version of the Linux cat command in ANSI C, Python, Go, and JavaScript. 用 Django ORM 进行双重检查的锁定 LUKE PLANT The double-checked locking pattern is useful when you need to restrict access to a certain resource to stop simultaneous process from working on it at the same time. Learn how to apply this pattern in Django using the ORM and database level locking features. Python Bindings: 从 Python 调用 C 或 C++ REAL PYTHON What are Python bindings? Should you use ctypes, CFFI, or a different tool? In this step-by-step tutorial, you’ll get an overview of some of the options you can use to call C or C++ code from Python. (是也乎: 虽然 Py 们好用又好写, 但是, 真正比拼的还是对 C/C++ 们的调用能力, 毕竟这个世界底层是 C 家族的. ) PyPy 状态 Blog: PyPy 和 CFFI 已迁移到 Heptapod MOREPYPY.BLOGSPOT.COM PyPy has moved the center of their development off Bitbucket and to the new foss.heptapod.net/pypy (是也乎: 因为 Bitbucket 凉了… 俺的仓库也得迁移了… foss.heptapod.net <- GitLab企业版, 免费使用环境… ) PyCon 2020: March 2 COVID-19 下的更新 PYCON.BLOGSPOT.COM “As of March 2, PyCon 2020 in Pittsburgh, PA is scheduled to happen.” (是也乎: 技术大会也被疫情了 ) 对匹兹堡 PyCon 感到兴奋的 19 个理由 EMILY MOREHOUSE (是也乎: Pittsburgh PyCon 的宣传文案来了… ) 讨论 Discussions ...

2020-03-04 · 5 min · 2480 words · ZoomQuiet

pythonista-weekly : Pyw 441

欢迎阅读《pythonista周刊》第441期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-441 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): python开发者都需要的Vettery Vettery是一个招聘网站,它改变了人们应聘或者雇佣的方式。准备好换工作地方了吗?免费制作简历,你的薪资你说了算,现在就和顶级雇主的HR联系吧! ...

2020-03-02 · 3 min · 1489 words · ZoomQuiet

pythonista-weekly : Pyw 438

欢迎阅读《pythonista周刊》第438期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-438 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 使用 Datadog 监控你的python指标,日志,集群分析。使用Datadog的应用分析,可以深入任何纬度并且能找到你所需要的信息,来进行动态诊断和快速故障排除。马上跟踪你的python应用吧!免费试用14天哦! ...

2020-02-29 · 4 min · 1855 words · ZoomQuiet

Issue 409

PyCon2020US 按时开始注册,没受疫情影响 原文: PyCoder’s Weekly - Issue #409 200205 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200205 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. 分析NBA助攻: 如何使用Python可视化数据中的隐藏关系 JP HWANG Using basketball as the background setting, the author discusses several different strategies for uncovering relationships and producing beautiful visualizations with Python. (是也乎: 其实, 前提是有老司机能先识别出关系, 才能找到数据模型来提取. ) PyCon美国2020年 Packaging 峰会:注册和主题提案 PYTHON.ORG Registration is open for the PyCon US 2020 Packaging Summit. Topic proposals are also being accepted. Both registration and topic proposals close on March 7, 2020. (是也乎: 来了, 来了, 没受疫情影响 ) Django 安全漏洞: CVE-2020-7471 MITRE.ORG Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). 用 Python 处理 PDF REAL PYTHON video In this step-by-step course, you’ll learn how to work with a PDF in Python. You’ll see how to extract metadata from preexisting PDF files. You’ll also learn how to merge, split, watermark, and rotate pages in PDFs using Python and the PyPDF2 library. (是也乎: 在中国虽然 PDF 不怎么受待见, 但是, 人家的确是世界第一通用文档格式哪 ) 生产中的 Python HYNEK SCHLAWACK Hynek Schlawack feels that discussions of Python web applications in production are missing from Python conferences. He is offering to mentor people who are interested in proposing conference talks on the subject Python 中的 Null : 了解 NoneType 对象 REAL PYTHON Learn about the NoneType object None, which acts as the “null” in Python. This object represents emptiness, and you can use it to mark default parameters and even show when you have no result. (是也乎: Python 中, 万物皆对象, 没有对象本身也是一种对象 ) PEP 584 PR 已合并 (Dictionary Union) GITHUB.COM/PYTHON This will add the following dictionary operations: dict1 | dict2 (copy + update) and dict1 |= dict2 (update). See PEP 584 for example use cases. 讨论 Discussions ...

2020-02-26 · 4 min · 1931 words · ZoomQuiet