Python 3.8.4 可用ed

原文: PyCoder's Weekly - Issue #429

pycoder

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

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.

(是也乎:

无法再基础的内建函式了, 但是, 一样有坑, 一定要认真学习.

)

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!

(是也乎:

Ideas

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

)

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.

(是也乎:

良心好文, 指出了核心问题, 以及坑位, 还有对应资源.

)

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.

(是也乎:

注意作者->陈冠希

)

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

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.

(是也乎:

import

太 docker 了.

)

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.

)

(是也乎:

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

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.

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.

(是也乎:

ipaddress

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

)

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 is a test pattern that forces tests to focus on independent, individual behaviors. Learn how to use it for your tests!

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).

(是也乎:

Network

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

)

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 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

(是也乎:

tsp

旅行商艺术模块, 太魔幻了,

TSP 问题的研究,直接加速了 CPU 自动设计进程, 是个非常复杂又实用的领域, 没想到 Py 也入侵了这一领域.

)

(是也乎:

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

)

(是也乎:

nanogui

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++ 代码.

)

(是也乎:

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

)

(是也乎:

魔改 Python 语法糖果盒 支持这么玩:

"hello, world!" |> print

)

(是也乎:

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

)

(是也乎:

眼动追踪系统

eyeloop

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

)

📆🐍 活动/大会

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

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)

RPP


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->