pythonista-weekly : Pyw 451

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

2020-05-30 · 4 min · 1971 words · ZoomQuiet

pythonista-weekly : Pyw 450

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

2020-05-23 · 5 min · 2488 words · ZoomQuiet

Issue 421

2019 Python 开发者问卷结果出来了 原文: PyCoder’s Weekly - Issue #421 200520 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200520 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 给 Pythonistas 的分析 Python vs JavaScript for – Real Python REAL PYTHON Python and JavaScript are two of the most popular programming languages in the world. In this tutorial, you’ll take a deep dive into the JavaScript ecosystem by comparing Python vs JavaScript. You’ll learn the jargon, language history, and best practices from a Pythonista’s perspective. (是也乎: 没什么可比的, JS 除了是现今唯一一个真正全栈开发语言之外, 基本没什么吸引力, 而且这点也在被 Py 慢慢赶上… PS: node.js 创始人放弃 node 另开新坑也说明问题所在了. ) Python 开发调查2019年结果 JETBRAINS.COM The results of the 2019 Python Developers Survey, a joint effort from JetBrains and the Python Software Foundation, have been released. Some interesting takeaways: Flask continues to grow as the most popular web framework, about half of Python developers report using pytest for testing, and VS Code continues to grow rapidly in popularity with almost 1/4 Python developers using it as their main editor. Check it out! (是也乎: 仅仅根据 jetbrain 一家内部数据, 也算是代表一部分真实了. ) 通过在公共存储库中反编译 Python 字节码来发现秘密 JESSE LI If you commit .pyc files to GitHub, or other public source control repositories, then all of your application secrets, such as AWS credentials and database passwords, can be reconstructed from the bytecode contained in these files. Python 缓存整数 ARPIT BHAYANI Did you know that Python caches integers between -5 and 256? That is, these integer values are singletons, which means that any reference to one of them in your code references the same object in memory. Learn why Python does this and more in this short, but informative, article. (是也乎: 老爹自己从来不说这种技术细节… ) 优化Django ORM查询 ROCIO ARAMBERRI The Django ORM is powerful, but also abstract. It can give the illusion that operations are inexpensive. Learn how the ORM works under the hood and how you can optimize Django ORM queries to improve the performance of your web apps. Python GitHub迁移工作组在呼吁志愿者! PYTHON SOFTWARE FOUNDATION The PSF is looking for volunteers to participate in a workgroup that will be involved with Python’s migration from bugs.python.org to GitHub. Python 3.9.0b1 现在可用于测试 CPYTHON DEV BLOG “Python 3.9 is still in development. This release, 3.9.0b1, is the first of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.” Django 3.1 Alpha 1 发布 DJANGO SOFTWARE FOUNDATION (是也乎: Django 千秋万代一统江湖, 不过, 俺还在用 Bottle. ) Python 3.8.3 已发布 CPYTHON DEV BLOG (是也乎: 昨晚刚刚安装上, 编译速度比 2.7.12 还要快 ) 讨论 Discussions ...

2020-05-20 · 5 min · 2089 words · ZoomQuiet

Issue 422

超现代 Python 开发环境配置 原文: PyCoder’s Weekly - Issue #422 200527 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200527 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 在异步中等待 HYNEK SCHLAWACK There are many ways to wait on the results of a coroutine in Python’s asyncio framework. They all have different properties and use cases. In this article, they’ve all been collected in one place to help you figure out which one you need. 异步 Python 中的延迟 CHRTIS WELLONS Where does latency in asynchronous programs come from? Explore some common mistakes in asyncio programming, the differences between bounded and unbounded queues, and a suggestion for some best practices for programming with asyncio. 在 Python 中创建和修改 PDF 文件 REAL PYTHON Explore the different ways of creating and modifying PDF files in Python. You’ll learn how to read and extract text, merge and concatenate files, crop and rotate pages, encrypt and decrypt files, and even create PDFs from scratch. (是也乎: ) 防止 SQL 注入: Django 作者的观点 JACOB KAPLAN-MOSS How do you prevent a SQL injection? Learn about best practices and tools for checking for vulnerabilities in a codebase in this post from Django creator Jacob Kaplan-Moss. Python Job Hunting in a Pandemic REAL PYTHON podcast Do you know someone in the Python community who recently was let go from their job due to the pandemic? What does the job landscape currently look like? What are skills and techniques that will help you in your job search? This week Kyle Stratis discusses how he is managing his job search after just being let go from his data engineering job. (是也乎: 其实找工作最佳姿势还是逼工作来找你吧… ) 超现代 Python CLAUDIO JOLOWICZ Opinionated guide to setting up a productive Python environment, including recommendations for testing, linting, documentation, and continuous integration. (是也乎: 居然上了一系列原创飞行艇漫画… 可以说是系列文章入口:2020年写 Python 是什么感觉; 对应 16 年那篇 写JS什么感觉, 早已不是拿起来 notepad 就能写的时代了, 各个环节,都有最佳套件等着你折腾… 当然, 到底上不上, 得看自己或是团队的问题领域… ) 讨论 Discussions ...

2020-05-20 · 4 min · 1828 words · ZoomQuiet