Issue 435

千万嫑在 下载 中运行Python 原文: PyCoder’s Weekly - Issue #435 200826 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200826 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 Python 和 DVC 进行数据版本控制 REAL PYTHON In this tutorial, you’ll learn to use DVC, a powerful tool that solves many problems encountered in machine learning and data science. You’ll find out how data version control helps you to track your data, share development machines with your team, and create easily reproducible experiments! (是也乎: 简单说, 就是将数据集的索引用 git 追踪, 数据集本身不用专门空间来管理… 如果 6G 普及后, 无论数据集在哪儿都可以比硬盘读取速度要快的下载, 那么, 也就不用这么折腾了… ) 深入研究 Python 官方 Docker 映像 ITAMAR TURNER-TRAURING Take a stroll through the Dockerfile for the official Python Docker image. Along the way you’ll see how the image uses a custom Python build and always includes the latest version of pip. 千万嫑在 下载文件夹 中运行Python GLYPH LEFKOWITZ Learn about security issues that exploit how Python interacts with PATH and why you should always think twice about your current working directory. Ask for Forgiveness or Look Before You Leap? SEBASTIAN WITOWSKI Is it faster to “ask for forgiveness” or “look before you leap” in Python? And when is it better to use one over the other? 常见 Python 包错误 JOHN WODDER Learn about common mistakes made in creating and building a Python package and how to avoid them. 讨论 Discussions ...

2020-08-26 · 4 min · 1920 words · ZoomQuiet

pythonista-weekly : Pyw 462

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

2020-08-21 · 3 min · 1492 words · ZoomQuiet

Issue 434

用 Python 分析 Python 代码 原文: PyCoder’s Weekly - Issue #434 200819 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200819 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 异步视图在 Django 3.1 TESTDRIVEN.IO • Shared by Michael Herman Django 3.1 introduced support for asynchronous views, middleware, and tests. This tutorial shows you how to get started with async views. Python 网络爬取实用指北 REAL PYTHON In this tutorial, you’ll learn all about web scraping in Python. You’ll see how to parse data from websites and interact with HTML forms using tools such as Beautiful Soup and MechanicalSoup. (是也乎: 从 美汤 -> ‘呆汤’ 都没说无头浏览器的… ) Delegation: OOP 中的组合和继承 LEONARDO GIORDANI Delegation is often considered one of the three pillars of object-oriented programming. Learn how to use this powerful concept in Python. Python 数据API标准联盟官宣 RALF GOMMERS Proposed by Quantsight Labs, and with initial sponsors including Intel, Microsoft, and Google Research, the consortium aims to tackle fragmentation across libraries by developing API standards for n-dimensional arrays and dataframes. (是也乎: Python 数据接口标准, 果然在 Google 发布前, 大家先抱团了. ) 用 Python 分析 Python 代码 ROTEM TAMIR Take a dip into static code analysis using abstract syntax trees and Python’s built-in ast modue. (是也乎: 这非常 PyPy 很少有语言能象 Python 这样内置语法解析器的, AST 的功能远远没有发挥出来呢. ) Python 3.9.0rc1 现已可用 CPYTHON DEV BLOG Wing Python IDE 7.2.4 发布 WINGWARE.COM Now supports Python 3.9! (是也乎: 为什么俺见 IDE 就脑仁儿痛? ) Python 3.7.9 and 3.6.12 安全更新现已发布 CPYTHON DEV BLOG (是也乎: 嗯哼? 也学习 Django 分功能领域来分形升级了? ) 讨论 Discussions ...

2020-08-19 · 4 min · 1835 words · ZoomQuiet

Issue 433

如何安全运行用户上传代码? 原文: PyCoder’s Weekly - Issue #433 200812 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 200812 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 什么是 Python Wheels 以及为何应该关心? REAL PYTHON In this tutorial, you’ll learn what Python wheels are and why you should care as both a developer and end user of Python packages. You’ll see how the wheel format has gained momentum over the last decade and how it has made the package installation process faster and more stable. (是也乎: 从 egg 到 Wheel … ) Name 中有什么: ShopRunner Python 数据科学库 2.0 NICOLE CARLSON • Shared by Nicole Carlson ShopRunner’s data science team decided to rename their open-source libraries after their namesake’s creator made comments that didn’t align with the group’s values. This article makes a great case study on how to rename projects while minimizing developer impact. (是也乎: 硬分叉后的必须手尾. ) Django 幸存之道(如果关心数据的话) DANIELE VARRAZO opinion Many developers view Django’s “database agnosticism” as one of the framework’s strengths. Daniele Varrazzo, on the other hand, believes this approach potentially handcuffs the developer from taking advantage of database-specific features. Read Daniele’s detailed opinion and follow the discussion on Hacker News. 在 Python 传参: 背景和最佳做法 REAL PYTHON In this tutorial, you’ll explore the concept of passing by reference and learn how it relates to Python’s own system for handling function arguments. You’ll look at several use cases for passing by reference and learn some best practices for implementing pass-by-reference constructs in Python. (是也乎: 其实, 用最无聊的形式来最好. ) 从头构造隐性关注分析 ANDREW HEALEY There are a number of reasons websites want to collect data about how users use their website. But how this works is often a controversial topic. Learn how tracking works by building a privacy-focused tracking system from scratch. (是也乎: pixel.gif 技巧总是可用的… ) 虚拟活动资源 PYTHON.ORG Thinking about hosting a virtual Python conference or meetup? The PSF compiled a list of tools and resources to help you be successful! Oh, and they’ll be re-launching their grant program soon! (是也乎: 关键在网络活动的免费平台, 国外有很多, 国内呵呵… ) Q3 PSF成员提名截止日期为8月20日 TWITTER.COM/THEPSF Do you know someone who deserves to be a PSF fellow? Why not nominate them? 讨论 Discussions ...

2020-08-12 · 5 min · 2137 words · ZoomQuiet