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

PyCoder 540

Python 世界第一但企业更爱 SQL 原文: PyCoder’s Weekly - Issue #540 220831 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220831 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 FastAPI 和 Python 构建 缩址器 REAL PYTHON COURSE In this video course, you’ll build an app to create and manage shortened URLs. Your Python URL shortener can receive a full target URL and return a shortened URL. You’ll also use the automatically created documentation of FastAPI to try out your API endpoints. (是也乎: FastAPI 的好, 不仅仅是内置了文档界面 ) Flet: 用 Python 构建 Flutter 应用程序 FITSNER & KENNEDY PODCAST Flutter is a UI framework for mobile, desktop, and web apps. Flet is a Python library for using Flutter. This podcast is an interview with Feodor Fitsner the creator of Flet. (是也乎: 是的, 值得体验, 这真的是贴心尝试. 值得付费… ) 网络钓鱼 PyPI 用户: 受感染的项目推送恶意软件 ZELJKA ZORZ PyPI is warning about a phishing campaign targeting its users; the attackers have compromised some legitimate projects to push malware. See also the original Tweet from PyPI. (是也乎: 想说大势所趋的…可惜… ) 在 Spring 的生产环境中使用 Mypy CHARLIE MARSH Spring maintains Python software containing over 300k lines of code. This article discusses how they decided to start using Mypy and how it benefited them. (是也乎: 等等, 就是那个 Spring? ) Heroku 取消免费套餐 HEROKU.COM (是也乎: 好吧, 免费用了那么久, 也知道怎么肥四了… 迁移到 各公有云的 FaaS 中, 也是好的 ) 受 Cryptominers 影响的 100 多个 PyPI 和 npm 包 MANIKANTA IMMANNI 探讨/吐糟 Discussions ...

2022-08-31 · 5 min · 2048 words · ZoomQuiet

PyCoder 539

是什么促使你决心进入一个技术栈的? 原文: PyCoder’s Weekly - Issue #539 220824 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220824 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 了解 异步 Web Python JAMES BENNETT “Recently Django 4.1 was released, and the thing most people seem interested in is the expanded async support. The Python web ecosystem has been seeing new frameworks pop up which are fully async, or support going fully async, from the start.” Learn more about async and its use in web frameworks. GitHub Copilot: 以想象的速度与 Python 一起飞翔 REAL PYTHON In this tutorial, you’ll get your hands dirty with GitHub Copilot, a virtual pair programmer powered by artificial intelligence trained on billions of lines of code. You’ll explore several practical use cases in Python for this amazing productivity tool. (是也乎: 商业稿, 这肯定拿銭了… 拿开源代码去养 M$ 的 AI ? ) 用 12 行 PyTorch 编写 Snake 游戏 ELIAS F. FYKSEN Using linear algebra and tensor operations, Elias has emulated the classic game of “Snake”. This is a fun way to learn more about PyTorch and NumPy. 探讨/吐糟 Discussions ...

2022-08-24 · 4 min · 1859 words · ZoomQuiet

PyCoder 538

无可阻挡的 Python 原文: PyCoder’s Weekly - Issue #538 220817 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220817 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 带 Transformer 模型和注意力的 NLP 前进 REAL PYTHON PODCAST What’s the big breakthrough for Natural Language Processing (NLP) that has dramatically advanced machine learning into deep learning? What makes these transformer models unique, and what defines “attention?” This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, continues our talk about how machine learning (ML) models understand and generate text. (是也乎: ) [“势不可挡” Python 仍然比 C 和 Java 更受欢迎(https://pycoders.com/link/9308/web) SLASHDOT.ORG “Python seems to be unstoppable,” argues the commentary on August’s edition of the TIOBE index, which attempts to calculate programming-language popularity based on search results for courses, vendors, and “skilled engineers”. (是也乎: 无可阻挡, 就是无可替代 ) Scout APM: 为开发者打造, 由开发者打造 SCOUT APM SPONSOR Scout APM is a python monitoring tool designed to help developers find and fix performance issues quickly. With an intuitive user interface, Scout will tie bottlenecks to source code so you can quickly pinpoint and resolve performance abnormalities. Scout APM: Built For Developers, By Developers (是也乎: 好用不贵? ) 向 Pip 添加审计 JAKE EDGE In light of recent supply-chain attacks on PyPi, people are talking about how to help secure their environments. Discussions on adding a security audit feature to pip have begun, but opinions differ widely. This article summarizes the conversation so far. (是也乎: 有点儿象党国晚期? 反贪亡党, 不反亡国…. ) 发现性能问题: 分析还是记录? ITAMAR TURNER-TRAURING Statistical profiling takes a sample of your code at run time and in intervals inspects the performance. Learn how to use this to help determine your performance bottlenecks even in production code. (是也乎: 顶得住是王道, 其它的都是为了 PPT ) Python 3.11.0rc1 发布 PYTHON.ORG 探讨/吐糟 Discussions ...

2022-08-17 · 4 min · 1959 words · ZoomQuiet