PyCoder 537

Python 3.10.6 发布 原文: PyCoder’s Weekly - Issue #537 220810 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220810 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 查找和修复 Python 代码错误 REAL PYTHON COURSE Learn how to identify and fix logic errors, or bugs, in your Python code. You’ll use the built-in debugging tools in Python’s Integrated Development and Learning Environment to practice locating and resolving bugs in an example function. (是也乎: 基础又迷人的技巧.. 猜测其实就是经验… ) Python 常用库中的不常见用法 EUGENE YAN To learn more about writing maintainable Python, Eugene has been reading code from some of the more popular Python libraries. This blog post talks about some of the coding patterns he has encountered along the way. (是也乎: 结构即架构 ) 用几行 Python 创建 NBA 亮点 NOAM EPHRAT Learn how to build a play-by-play scraper to process video data from an NBA game. Use Tesseract OCR to determine clock and quarter information, then match it up with the play-by-play data to create highlights. (是也乎: OCR 技术自动识别关键帧 ) Python 3.10.6 发布ed PYTHON.ORG Django 4.1 发布ed DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2022-08-10 · 4 min · 1742 words · ZoomQuiet

PyCoder 536

M1 已支持 PyPy 原文: PyCoder’s Weekly - Issue #536 220803 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220803 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Windows 中 Python 编码环境/ 设置指南 REAL PYTHON With this opinionated guide to setting up a basic, fully featured and flexible setup for Python coding and open source contributing when working from Windows, you’ll go from a fresh install to ready to contribute, and even check out a PowerShell script to automate much of the process. (是也乎: 放过 Windowns 吧, 一个远程 Linux 主机配套 VSCoder 无痛编程… ) Meta/Facebook 支持服务器端使用的编程语言 ERIC GARCIA Facebook (Meta) shares its internal programming language guidance that helps their developers choose the best language for their projects. Python is used heavily for ML, data science, and Instagram. 自然语言处理和机器学习如何理解文本 REAL PYTHON PODCAST How do you process and classify text documents in Python? What are the fundamental techniques and building blocks for Natural Language Processing (NLP)? This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, talks about how machine learning (ML) models understand text. (是也乎: ) 测试 PyPy CARL FRIEDRICH BOLZ-TEREICK PODCAST Brian interviews Carl Friedrich Bolz-Tereick of the PyPy project and they talk about how to test the alternative Python implementation. Python 3.11.0b5 现已推出 CPYTHON DEV BLOG M1 宣布支持 PyPy PYPY.ORG (是也乎: WoW … ) Talks 2022 Python 网络会议发布 SIXFEETUP.COM • Shared by Laura Stephens VIDEO 探讨/吐糟 Discussions ...

2022-08-03 · 4 min · 1783 words · ZoomQuiet

PyCoder 535

PEP 695:类型参数语法/草案 原文: PyCoder’s Weekly - Issue #535 220727 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220727 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 Django 构建 Flashcards 应用程序 REAL PYTHON Create your own flashcards app to help you to learn a new language. In this step-by-step project, you’ll replicate a spaced repetition system with the Django web framework. If you want to learn a new topic while sharpening your Django and Python skills, this tutorial is the perfect match for you! (是也乎: 嗯哼? 实体结合, 这很适合私人软件发售形式哪… ) 构建一个持久认证的 Python CLI CHRISTOPHER FLEETWOOD When building a command line program that authenticates to a service, you may not want the user to have to enter their password every single time. This article shows you how to manage authentication tokens to make you user’s life easier. The Twitter API is used as the example data source. (是也乎: 嗯哼? 这样安全嘛? ) 告别辣些过时的 Python 库 MARTIN HEINZ • Shared by Martin Heinz It’s time to say goodbye to os.path, random, pytz, namedtuple and many more obsolete Python libraries. Start using the latest and greatest ones instead. (是也乎: 如此决然的嘛? ) PEP 695: 类型参数语法(草案) PYTHON.ORG This Python Enhancement Proposals (PEP) draft describes an improved syntax for specifying type parameters within a generic class, function, or type alias. For example: class ClassA[T: str]: It also introduces a new statement for declaring type aliases. Django 4.1 候选版本 1 可用 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2022-07-27 · 4 min · 1806 words · ZoomQuiet

PyCoder 534

是的,俺对侬的开源贡献有意见… 原文: PyCoder’s Weekly - Issue #534 220720 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220720 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 衡量代码质量/简单性和可维护性 REAL PYTHON PODCAST How maintainable is your Python code? Is it possible to hold the code for your functions in your head? When is it appropriate to use measurements in a code review? This week on the show, Reka Horvath and Ben Martineau from Sourcery are here to discuss their recent PyCon talk, “Actionable insights vs ranking: How to use and how NOT to use code quality metrics.” (是也乎: 其实, 如果不从小作品开始养成这种习惯, 到大团队, 基本上不可能适应, 或是推进类似品质管理 ) Subtests 在 Python PAUL GANSSLE “unittest.TestCase.subTest was originally introduced in Python 3.4 as a lightweight mechanism for test parameterization; it allows you to mark a section of your test as a separate test in its own right using a context manager.” Learn all about sub-tests in both the unittest module and pytest. (是也乎: 单元测试下, 还有一层测试… ) 在 Python 中并行处理大文件 ABID ALI AWAN When working with large amounts of data, using more than one CPU can lead to significant speed gains. Learn about various techniques that reduce data processing time by using multiprocessing, joblib, and tqdm. Python 3.11.0b4 发布 PYTHON.ORG 探讨/吐糟 Discussions ...

2022-07-20 · 4 min · 1817 words · ZoomQuiet