Issue 411

2020 应该如何享用 Jupyter? 原文: PyCoder’s Weekly - Issue #411 200311 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200311 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄. Post-Mortem Python 绘图 ANDY JONES Who loves debugging things that only fail occasionally? Just me? Maybe you need to check out Andy Jones’ extract() function that “magically” extracts a caller’s environment into an IPython interpreter session. Mix in a little post-mortem debugging with Jupyter’s %debug magic command, and you’ll be painlessly debugging finicky code in no time. (是也乎: 神奇的事后验尸, extract() 能将调用者环境装配人 Jupyter 进行细致的检验. ) 2020 年如何用 Jupyter 笔记本 LJ MIRANDA In this first of a three-part blog post, LJ Miranda surveys the data science landscape and discusses the forces that push data science tools to evolve. (是也乎: 一个系列, 刚刚发布第一篇, 1: 数据科学的笔记本 /2: 2020我的笔记本 /3: 笔记本的未来.. 是的, 笔记本从实体的, 到电脑形态, 现在又是一种可计算文档的指代了… 其实, 对 Jupyter 的发展是看好的, 但是, 对其最终产品形态不明朗, 因为 notebook 形式非常创意的将 开发/调试/笔记/发行 很好的揉合在一起; 唯独没对运行时有考虑…这就比较尴尬了… ) 思考 psycopg3 DANIELE VARRAZZO A core maintainer of the popular psycopg2 PostgreSQL adapter for Python discusses breaking changes he would like to see in a hypothetical pyscopg3 project, including better query/parameter separation, more sensible context manager behavior with connections, and async support. (是也乎: 当大家大规模从 MySQL 迁移到 Pq , 各种模块就大发展起来了… ) Alexa Python 开发: 构建和部署 Alexa Skill REAL PYTHON In this tutorial, you’ll become an Alexa Python developer by deploying your own Alexa skill. You’ll build an application that users will interact with using voice commands to Amazon Alexa devices. Your skill will respond back with a random joke when invoked by the user! (是也乎: Amazon 全家桶开发环境… ) PyCon 2020 为 COVID-19 更新 PYCON.BLOGSPOT.COM “PyCon continues to closely monitor the Coronavirus (also known as COVID-19) situation. As of March 6, PyCon 2020 in Pittsburgh, Pennsylvania is scheduled to take place.” (是也乎: PyCon 官方还在使用 BLOGSPOT.COM, 最早也最稳定的 blog 服务. ) 讨论 Discussions ...

2020-03-12 · 5 min · 2409 words · ZoomQuiet

pythonista-weekly : Pyw 439

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

2020-03-07 · 5 min · 2266 words · ZoomQuiet

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