Python 3.8.4 可用ed 原文: PyCoder’s Weekly - Issue #429 pycoder

  • 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! (是也乎: Ideas 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. (是也乎: import 太 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 3.8.4 现在可用
    • PYTHON.ORG
  • Pytest 6.0.0rc1 发布
    • TWITTER.COM/NICODDEMUS (是也乎: pytest 应该统一 TDD 市场了? )

讨论

Discussions

文章,教程和嗯哼

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. (是也乎: ipaddress 这个模块绝对良心, 好用. )
  • 向 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). (是也乎: Network 其实也算是 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.
  • 用 60 行 Python 和 Streamlit 部署 State-Of-The-Art 问答系统
    • 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

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

“hello, world!” |> print )

📆🐍 活动/大会

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

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报) 101camp10py 开始报名 报名

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

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

PS


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


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

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

RPP