PyCoder 544

Python 3.12 目标发布 原文: PyCoder’s Weekly - Issue #544 220928 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220928 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 实在是非开发人员的效率工具 REAL PYTHON PODCAST Are you interested in using Python in an industry outside of software development? Would adding a few custom software tools increase efficiency and make your coworkers’ jobs easier? This week on the show, Josh Burnett talks about using Python as a mechanical engineer. (是也乎: ) 基于 Python 应用程序的 Heroku 替代方案 TESTDRIVEN.IO • Shared by Micheal Herman Learn about alternatives to Heroku and their pros and cons. Platforms discussed include Digital Ocean, Google App Engine, AWS, Azure, PythonAnywhere, and half a dozen more. (是也乎: Heroku 实在构造的太方便了, 除非官方作死, 否则, 很难上手后迁移… ) 在 Kubernetes 上运行 Django MOHAMED M EL-KALIOBY This in-depth, seven-part article covers all the ins-and-outs of getting Django running on Kubernetes in a Docker container. Django REST 3.14 发布 DJANGO-REST-FRAMEWORK.ORG Pandas 1.5 发布 PYDATA.ORG (是也乎: 随着Python 本身的加速, Pandas 也将越来越快… ) 征集提案: Synthetic Data Dev Conference GRETEL.AI • Shared by Will Jennings (是也乎: 元宇宙基础计算… ) 2022 年 Django 开发者调查发布 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2022-09-28 · 4 min · 1701 words · ZoomQuiet

PyCoder 543

dataclasses 值得使用 原文: PyCoder’s Weekly - Issue #543 220921 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220921 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 在 Python 中构建 Alexa 等效项 ANDREW HERSHY It’s not as difficult as you think to build an AI program that listens to speech and answers questions. You can make the magic happen in an afternoon by leveraging a few Python packages and APIs. Python SQLite 文档案例增补 REDOWAN DELOWAR • Shared by Redowan Delowar The official documentation of Python’s sqlite3 module is a little short on examples. This article lists various in-depth examples that cover the most commonly used APIs in the module. (是也乎: 反正还是直接 SQL 最标准了… ) 自定义 Python 列表: 从列表继承与 UserList REAL PYTHON In this tutorial, you’ll learn how to create custom list-like classes in Python by inheriting from the built-in list class or by subclassing UserList from the collections module. (是也乎: ) Python 3.11.0rc2 发布 PYTHON.ORG 探讨/吐糟 Discussions ...

2022-09-21 · 4 min · 1595 words · ZoomQuiet

PyCoder 542

Jupyter+git 问题已解决 原文: PyCoder’s Weekly - Issue #542 220913 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220913 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. List Comprehensions Are More Powerful Than You Think MARTIN HEINZ • Shared by Martin Heinz List comprehensions have a lot of depth. This article takes you beyond the basics and explains nested comprehensions, multiple conditionals, exceptions, breaking the loop, and more. (是也乎: 这在 Python一行流 (2021) 中进行了充分的讨论… ) Can Amazon’s CodeWhisperer Write Better Python Than You? BRIAN TARBOX • Shared by Adam Buggia Amazon’s CodeWhisperer is a machine-learning based coding assistant which is currently in beta. Learn about its capabilities and limitations. (是也乎: 可惜是 AWS only 的东西… ) Possible DoS Exposure in Large int to str Conversions GITHUB.COM/PYTHON “A Denial Of Service (DoS) issue was identified in CPython because we use binary bignum’s for our int implementation. A huge integer will always consume a near-quadratic amount of CPU time in conversion to or from a base 10 (decimal) string with a large number of digits. No efficient algorithm exists to do otherwise.” Django Bugfix Release: 4.1.1 DJANGO SOFTWARE FOUNDATION Python 3.10.7, 3.9.14, 3.8.14, and 3.7.14 Released CPYTHON DEV BLOG TensorFlow 2.10 Released TENSORFLOW.ORG 探讨/吐糟 Discussions ...

2022-09-13 · 4 min · 1602 words · ZoomQuiet

PyCoder 541

47+值得知道的 Py 字符串方法 原文: PyCoder’s Weekly - Issue #541 220907 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220907 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 创建 Python 代码完成器和更多 AST 项目 REAL PYTHON PODCAST How does a code completion tool work? What is an Abstract Syntax Tree, and how is it created in Python? How does an AST help you write programs and projects that inspect and modify your Python code? This week on the show, Meredydd Luff, co-founder of Anvil, shares his PyCon talk, “Building a Python Code Completer.” (是也乎: AST 好东西 ) 值得知道的 Python 字符串方法 TREY HUNNER • Shared by Trey Hunner Python’s strings have 47 methods. That’s almost as many string methods as there are built-in functions in Python! Which string methods should you learn first? (是也乎: 和 Perl 类似, 字符串, 是日常最多应对场景,值得深入支持… ) Python 中的龙曲线 🐍 GIULIANO PERTILE • Shared by Giuliano Pertile A Dragon Curve is a kind of fractal image. This article introduces you to the math behind the curve and how to draw one using a Python script. (是也乎: 龙式分形…supper cool. ) 探讨/吐糟 Discussions ...

2022-09-07 · 4 min · 1732 words · ZoomQuiet