创建漂亮的极坐标直方图

原文: PyCoder's Weekly - Issue #593

pycoder

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

In this step-by-step project, you’ll build your own Wordle clone with Python. Your game will run in the terminal, and you’ll use Rich to ensure your word-guessing app looks good. Learn how to build a command-line application from scratch and then challenge your friends to a wordly competition!

(是也乎:

Rich

Rich 这个框架名字起的真好,...

)

“Polar histograms are great when you have too many values for a standard bar chart. The circular shape where each bar gets thinner towards the middle allows us to cram more information into the same area.” Learn how to create one using Python and Matplotlib.

(是也乎:

极坐标

这种图表...

)

Protocol buffers are a data serialization format that is language agnostic, analogous to Python’s pickle format. Learn how to write them in Python and communicate with other languages that support the protocol.


探讨/吐糟

Discussions

(是也乎:

也可以反过来想, 如何能让 Python 失败? 再看一路过来, 是最初的心愿重要,还是社区稳定发展重要...

)

(是也乎:

args = {'a':1, 0:98, 1:99, 'b':2}
f(**args)

#is the same as:

f(98, 99, a=1, b=2)

嗯哼, 这只能说好象有点儿意思哪...

)


文章/教程/嗯哼

Articles, Tutorials and Talks

What should you consider when picking a font for coding in Python? What characters and their respective glyphs should you check before making your decision? This week on the show, we talk with Real Python author and core team member Philipp Acsany about his recent article, Choosing the Best Coding Font for Programming.

(是也乎:

font

根据不同心情吧, 不过, 事实反复证明过了, 关注运行时代码之外任何东西时, 就代表已经心不在程序上了...

)

Python is a powerful programming language that’s easy to learn and fun to play with. But beyond the basics, there are plenty of hidden features and tricks. This article covers debugging regexes, the ellipsis, dir(), chaining comparisons, and more little nuggets you may not know.

(是也乎:

每年都有人整理,不过,除非绝对必要, 否则, 还是能不用就嫑用...

)

Hypothesis is a property-based testing library. This style of testing uses ranges of scenarios rather than a single value, and then the tool explores the results. See also the intro article to strategy based testing.

The Common Vulnerabilities and Exposures program identifies, catalogs, and discloses cybersecurity vulnerabilities. The Python Software Foundation has recently been added as a numbering authority, improving Python’s ability to disclose and respond to security issues.

This tutorial teaches how to deploy a machine learning (ML) model to AWS Lambda, via Serverless Framework, and execute it using Boto3. It also creates a CI/CD pipeline with GitHub Actions to automate the deployment process and run end-to-end tests.

In this video course, you’ll learn how to use the pathlib module to carry out file path operations with Python. These operations include creating, iterating over, searching for, moving, and deleting files and folders.

(是也乎:

基础知识:Pathlib

这可能是真的经典系列了....毕竟在 真蟒 上进行了这么多反复迭代

)

If your development team uses the main branch for production and pull requests for feature management, you may want to disable the ability to (accidentally) push to main. This article shows you how.

(是也乎:

main 分支当成版本发现才有这问题, 如果使用版本分支就不会有这种心态了...

)

This article shares ideas for finding and making your first open source contribution, using examples from contributions the author has made to various projects.

(是也乎:

可以对于 Hacker 的5种角色, 不过, 对于中国, 只有两种类型: 真开源和徦开源

)

This article introduces you to the functions in Python’s functools module with real world examples to help show you how and when to use each feature.

(是也乎:

functools 的扩展...

)

Learn about both the min heap and max heap data structures using Python.


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

马一龙逼出来的...

)


📆🐍 活动/大会

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


历史上这周


DAMA

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

        _~-|∽~_
    \/ /  ← ◷  \ \/
      '_   ♢   _'
      > '-----' |

...act by ferris-actor v0.2.4 (built on 23.0303.201916)

PS:

Happy Pythoning!

Copyright © 2023 PyCoder’s Weekly, All rights reserved.

PPS:

不觉中蟒周刊快译已经到了第10+2个年头

开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...

问为什么:

[皱眉]每周新闻资讯 怎么能错过 
看看有什么新东西 
当有新的发现时:
    what f**k 还能这样玩? 还有这东西?
    每周开彩蛋[吃瓜]

无法同意更多... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.

所以++> 锈周刊 -> Weekly :: China


好文笔,感叹号年度配额: 2/3

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

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

全职嗯哼: 大妈的多重宇宙 - https://www.youtube.com/@Chaos42DAMA
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开社群: 蟒营 (订阅号: Mainium)

as 创始组织者:
    CPyUG (mailling-list: python-cn@googlegroups.com)
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        AIGC珠海 


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->