写点什么

蟒周刊 -429-Python 3.8.4 可用 ed

发布于: 2020 年 07 月 15 日



原文: PyCoder's Weekly - Issue #429





  • 200715 Zoom.Quiet(大妈) 用时 42 分钟 完成快译

  • 200715 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.



------



+ JAKE EDGE



Guido van Rossum recently proposed re-introducing the Python print statement. He was completely serious and even though the idea didn’t gain traction, it’s interesting to know why he made the proposal.



(是也乎:



无法再基础的内建函式了,

但是, 一样有坑,

一定要认真学习.



)



+ REAL PYTHON

+ course



Get started on 13 Python project ideas that are just right for intermediate Python developers. They’ll challenge you enough to help you become a better Pythonista but will still be doable!



(是也乎:





MVP 永远是最给力的成长加速器.



)



+ NICK MCCREA



Get a crash course in programming autonomous robots with Python. Don’t have a robot laying around? No problem! Use this open-source simulator to get started.



(是也乎:



良心好文, 指出了核心问题, 以及坑位,

还有对应资源.



)



+ CAROL CHEN



Have you ever wondered how JIT compilers like PyPy work? Learn the basics by looking at a number of JITs including PyPy, LuaJIT, and Graal.



(是也乎:



注意作者->陈冠希



)



+ AKSHAY RAVIKUMAR



Take a deep dive into Python dictionaries by looking at four problems and considering their solutions.



+ REAL PYTHON



The Python import system is as powerful as it is useful. In this in-depth tutorial, you’ll learn how to harness this power to improve the structure and maintainability of your code.



(是也乎:





太 docker 了.



)



+ AUSTIN JACKSON



Python’s low barrier to entry, enormous ecosystem, and rapid development process has made it one of he most desired programming languages for millions of developers around he globe—including malicious actors. Read the article at the link above and follow the discussion on Hacker News.



(是也乎:



就象当年的 VB.



)



+ VIJAY PRABHU



+ PYTHON.ORG



+ TWITTER.COM/NICODDEMUS



(是也乎:



pytest 应该统一 TDD 市场了?

)



讨论

Discussions



+ REDDIT



Even if you don’t have a Ph.D. and don’t work at a FAANG company, you still deserve some appreciation!



+ REDDIT



文章,教程和嗯哼

Articles, Tutorials and Talks



+ ITAMAR TURNER-TRAURING



Every Python object has a little bit of memory overhead, and that overhead can really add up if you need to create a huge number of instances. Find out where this overhead comes from and some strategies for reducing memory usage.



+ REAL PYTHON



In this step-by-step tutorial, you’ll learn how to inspect and manipulate IP addresses as Python objects with Python’s ipaddress module, improving your understanding of IP address mechanics and patterns used by the module.



(是也乎:





这个模块绝对良心, 好用.



)



+ TIMO ZIMMERMAN



Django is a “batteries included” framework, but one battery that isn’t included is two-factor authentication (2FA). Learn how to set up 2FA on the Django Admin site using an authentication app like Google Authenticator.



+ ANDREW KNIGHT



Arrange-Act-Assert is a test pattern that forces tests to focus on independent, individual behaviors. Learn how to use it for your tests!



+ ANDREW HEALEY



Learn how to create a simple graph in Python. Not graph as in chart, but graph is in network diagram (or, dots connected with lines).



(是也乎:





其实也算是 TSP 问题的一种思路.



)



+ JOHN LEKBERG



The “Plus Minus Problem” asks whether or not it’s possible, given the numbers 1 to n, to add and subtract them in some manner so that the total sum is zero. The problem may not have many practical applications, but it’s a great way to illustrate how a little bit of reasoning can save you from exponential-time algorithms.



(是也乎:



涉及数论问题时, Python 反而是最趁手的工具,

毕竟形式上太直觉了.



)



+ MICHAL CHROMČÁK



HCrystalBall wraps time series forecasting projects like fbprophet, arima with autoarima, exponential smoothing from statsmodels, and (t)bats, and unifies them under a scikit-learn compatible interface so that you can leverage features like scikit-learn pipelines.



+ MIHAIL ERIC



Thanks to high-quality pretrained models, Wikipedia, and Streamlit, deploying a state-of-the-art question answering system has never been easier!



好物

Interesting Projects, Tools and Libraries, Projects & Code



+ GITHUB.COM/PYPARSING



+ GITHUB.COM/MATTHRAS



(是也乎:





旅行商艺术模块,

太魔幻了,



TSP 问题的研究,直接加速了 CPU 自动设计进程,

是个非常复杂又实用的领域, 没想到 Py 也入侵了这一领域.



)



+ GITHUB.COM/NMCCREA



+ GITHUB.COM/GOLDSMITH



(是也乎:



又是一个不存在的大数据集界面



)



+ GITHUB.COM/MITSUBA-RENDERER



(是也乎:





FormHelper *gui = new FormHelper(screen);
ref<Window> window = gui->add_window(Vector2i(10, 10), "Form helper example");
gui->add_group("Basic types");
gui->add_variable("bool", bvar);
gui->add_variable("string", strvar);
gui->add_group("Validating fields");
gui->add_variable("int", ivar);
gui->add_variable("float", fvar);
gui->add_variable("double", dvar);
gui->add_group("Complex types");
gui->add_variable("Enumeration", enumval, enabled)
->setItems({"Item 1", "Item 2", "Item 3"});
gui->add_variable("Color", colval);
gui->add_group("Other widgets");
gui->add_button("A button", [](){ std::cout << "Button pressed." << std::endl; });
screen->set_visible(true);
screen->perform_layout();
window->center();



看起来像是 C++ 代码.



)



+ GITHUB.COM/HEIDELBERGCEMENT



+ GITHUB.COM/BORISTSR



+ GITHUB.COM/GVINCIGUERRA



+ GITHUB.COM/PYTOOLZ



(是也乎:



突然, 又来一波函式编程支持模块...



)



+ GITHUB.COM/EVHUB



(是也乎:



魔改 Python 语法糖果盒

支持这么玩:



"hello, world!" |> print



)



+ GITHUB.COM/DRVINCEKNIGHT



(是也乎:



游戏平衡感也能数值化计算了?



)



+ GITHUB.COM/SIMONARVIN



(是也乎:



眼动追踪系统





NB 的是对其它生物也一样有效.



)



📆🐍 活动/大会

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



+ July 13 to July 18, 2020



+ Jul 23, 2020



+ July 23 to July 27, 2020



+ 在线

+ 7.25 144:00~



DAMA

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



101camp10py 开始报名






课程规划:
报名截止 2020.7.20
正式开课 2020.7.26
课程结束 2020.9.06


详情 => 蟒营™ Python 入门班第10期



PS:



-------------

>> NN 4075



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



投稿/反馈邮箱:



askdama@googlegroups.com



(邮件列表地址,

当成正常邮件发送邮件就好, 不用注册, 不用翻越...)



-------------



ZoomQuiet/**大妈**



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



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



-------------



发布于: 2020 年 07 月 15 日阅读数: 236
用户头像

是也乎 ( ̄▽ ̄) 2019.03.25 加入

中国Python社区中最长情的贡献者, 大家公认的 "大妈"(ZoomQuiet). 蟒营®编程思维提高班 Python版/第14期/报名: https://jinshuju.net/f/Mv5nGU 11.111号前报名 再优惠800元. ----- NN 4179

评论

发布
暂无评论
蟒周刊-429-Python 3.8.4 可用ed