Python 3.8.4 可用ed
原文: PyCoder's Weekly - Issue #429
- 200715 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 200715 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- Python Print 打印语句的(非)返回
- 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.
(是也乎:
无法再基础的内建函式了, 但是, 一样有坑, 一定要认真学习.
)
- 通过 13 个中级项目构想增加 Python 实力
- 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 永远是最给力的成长加速器.
)
- Python 机器人编程入门指南
- 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.
(是也乎:
良心好文, 指出了核心问题, 以及坑位, 还有对应资源.
)
- 如何快速实现JIT编译器: PyPy,LuaJIT,Graal等
- 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.
(是也乎:
注意作者->陈冠希
)
- Hashing 丫的
- AKSHAY RAVIKUMAR
Take a deep dive into Python dictionaries by looking at four problems and considering their solutions.
- Python import : 高级技术和技巧
- 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 了.
)
- 不断增长的 Python 恶意软件
- 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.
)
-
Python 版本 3.8.0 至 3.8.3 中的零日漏洞导致哈希冲突并导致 DoS
- VIJAY PRABHU
-
- PYTHON.ORG
-
- TWITTER.COM/NICODDEMUS
(是也乎:
pytest 应该统一 TDD 市场了? )
讨论
Discussions
- 向所有平庸的数据科学家怒吼
Even if you don’t have a Ph.D. and don’t work at a FAANG company, you still deserve some appreciation!
文章,教程和嗯哼
Articles, Tutorials and Talks
- 太多对象: 减少Python实例的内存开销
- 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.
- 用 Python 的 ipaddress 模块学习IP地址概念
- 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.
(是也乎:
这个模块绝对良心, 好用.
)
- 向 Django Admin 追加 两步身份验证
- 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.
- Arrange-Act-Assert: 一种编写良好测试的模式
- 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!
- 图的实用介绍 (Network Diagrams)
- 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 问题的一种思路.
)
- 用 Python 解决正负问题
- 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 反而是最趁手的工具, 毕竟形式上太直觉了.
)
- HCrystalBall: 时间序列预测的统一界面
- 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.
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
-
pyparsing: 用于创建 PEG 解析器的 Python 库
- GITHUB.COM/PYPARSING
-
tsp-art-python: 基于加权 Voronoi 点画和旅行商问题的数学艺术
- GITHUB.COM/MATTHRAS
(是也乎:
旅行商艺术模块, 太魔幻了,
TSP 问题的研究,直接加速了 CPU 自动设计进程, 是个非常复杂又实用的领域, 没想到 Py 也入侵了这一领域.
)
-
- GITHUB.COM/NMCCREA
-
Wikipedia: Wikipedia API 的 Pythonic 包装
- GITHUB.COM/GOLDSMITH
(是也乎:
又是一个不存在的大数据集界面
)
- nanogui: 简约 C++/Python GUI Library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
- 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++ 代码.
)
-
hcrystalball: 统一API和时间序列预测建模的常用库
- GITHUB.COM/HEIDELBERGCEMENT
-
- GITHUB.COM/BORISTSR
-
- GITHUB.COM/GVINCIGUERRA
-
- GITHUB.COM/PYTOOLZ
(是也乎:
突然, 又来一波函式编程支持模块...
)
- coconut: 简单,优雅,Pythonic函数式编程
- GITHUB.COM/EVHUB
(是也乎:
魔改 Python 语法糖果盒 支持这么玩:
"hello, world!" |> print
)
- Nashpy: 两个玩家游戏中 Nash 均衡计算的库
- GITHUB.COM/DRVINCEKNIGHT
(是也乎:
游戏平衡感也能数值化计算了?
)
- eyeloop: 专门针对消费级硬件上的动态,闭环实验量身定制的一种眼动仪, 基于Python 3
- GITHUB.COM/SIMONARVIN
(是也乎:
眼动追踪系统
NB 的是对其它生物也一样有效.
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- July 13 to July 18, 2020
-
- Jul 23, 2020
-
- July 23 to July 27, 2020
-
re-learn under COVID-19 如何远程学习? at GDG GDG Zhuhai
- 在线
- 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)
Comments