Python Web 开发赞叹中的赞叹 原文: PyCoder’s Weekly - Issue #456 pycoder

  • 210120 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 210120 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

  • 用 Pandas 和 Outlook 自动创建和分发 Excel 文件
    • CHRIS MOFFITT See how a little bit of Python can go a long way to automating manual processes and save businesses valuable time. (是也乎: Excel 早已不是一个工具, 而是一个标准数据格式了. )
  • 追踪Python GIL
  • 异或戏法
    • FLORIAN HARTMANN Is the exclusive or (XOR) operator something you have in your programming toolit? Learn how it works and how to use it to solve some common interview questions.
  • Python 排序算法简介
    • REAL PYTHON In this course, you’ll learn all about five different sorting algorithms in Python from both a theoretical and a practical standpoint. You’ll also learn several related and important concepts, including Big O notation and recursion. (是也乎: Sorting 不过, 无论怎么理解排序, 日常也都是调用 max/min 之类内置函式的哈. )
  • 创造错误代码以赢得奖品
    • AROBERGE.BLOGSPOT.COM Get a chance of winning a prize by writing code with an error that friendly-traceback can’t properly analyze.
  • Django 3.2 Alpha 1 发布
    • DJANGO SOFTWARE FOUNDATION
  • PyCon 2021 提案征集截止:2月12日
    • PYCON.ORG

探讨/吐糟

Discussions

  • 双精度在不同语言中的不同
    • STACK OVERFLOW Representing numbers on a computer can be challenging. Understanding how representations get printed is also a challenge! (是也乎: 当初 OpenResty 团队, 日常就是混合使用多达7种语言的, 目标是开发出原创专用语言… 然后.. )
  • Python 改变思维方式
    • REDDIT Has learning to code influenced how you think about other things in your life? (是也乎: 对于俺可能两大影响: 更懒了 ~ 反正 Py 都能搞; 更自信了 ~ 反正 Py 都能搞; )

文章/教程/嗯哼

Articles, Tutorials and Talks

  • 非开发人员 Python 编程语言指南
    • FATIH ERIKLI How would you introduce Python to someone who has never coded before and has little technical background? This beginner’s tutorial is written to be accessible by everyone, not just developers. (是也乎: 蟒营®之前的课程就是针对这类学习者的, 其实. guido )
  • 恒星图/雷达上值得显示的一种图
    • JOÃO PALMEIRO Stellar charts are an alternative to radar charts and are useful for showing characteristics of a profile (such as a tennis player’s statistics) in an eye-catching and easy-to-understand way. Learn how to create these charts in Matplotlib so you can add them to your data visualization repertoire. (是也乎: Stellar 用长度来替代面积, 更加容易感知. )
  • 情感分析: Python 的 NLTK 库入门
    • REAL PYTHON Learn how to work with Python’s Natural Language Toolkit (NLTK) to process and analyze text. You’ll also learn how to perform sentiment analysis with built-in as well as custom classifiers! (是也乎: 真蟒 现在的气势是准备将 Python 领域所有知识点穷尽, 用原创课程, 然后就可以长久躺赚? NLTK 很有点儿当年 InfoQ 的策略. )
  • 如何用 Python 分析卷配置文件
    • MINH NGUYEN Learn how to analyze volume profiles, a tool used in market analysis and algorithmic trading. While the article is focused on trading assets, the statistical analysis is applicable to a wide range of applications.
  • 在 ML 项目中编排 Python 和 R 代码的最佳实践[2017]
    • MARIJA ILIĆ The future of data science isn’t Python or R. It’s probably Python and R. Learn about some best practices for integrating both languages in thee same data science project. (是也乎: 4年前 , R 是想替代 Python 来的… )
  • 在 Django 中添加社交身份验证
    • AMAL SHAJI Learn how to add social authentication to Django applications using the Django Allauth library. (是也乎: 果然有专用插件可以作这种事儿. )
  • Python: 用 pip-review 更新所有软件包
    • STACK ABUSE Keeping track of Python dependencies and updates can be tricky. The pip-review tool automates a lot of this process in a convenient command-line interface.
  • 制作一个 Python 游戏: 石头,剪刀,布
    • REAL PYTHON Learn to program rock paper scissors in Python from scratch. You’ll learn how to take in user input, make the computer choose a random action, determine a winner, and split your code into functions. (是也乎: Game 神奇的游戏… 复杂 只是, 竟然不是用 CV 机器来识别出拳? )

好物/妙品/

Interesting Projects, Tools and Libraries, Projects & Code

locust -u 1 -t 60 –headless –check-rps 5 –check-fail-ratio 0.05 –check-avg-response-time 50 # Set locust’s exit code to failed (2) if any of the following criteria are not met at the end of the run: # At least 5 requests/s # At most 5% errors # * At most 50ms average response times locust ~ 蝗虫 ; 这非常气质吻合了. )

>>> from cleverdict import CleverDict
>>> x = CleverDict({'total':6, 'usergroup': "Knights of Ni"})
>>> x.total
6
>>> x['total']
6
>>> x.usergroup
'Knights of Ni'
>>> x['usergroup']
'Knights of Ni'

以往都是自己乱写个类来模拟… pythonistacafe 作者组织看起来就是 真蟒? )

📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

PS


好文笔,感叹号年度配额: 0/3 投稿/反馈邮箱: [email protected] (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越…)

ZoomQuiet/大妈 就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)

NN 4264 RPP