蟒周刊-401-Python 2.7 今天正式退休
发布日期:2022-02-10 13:35:44 浏览次数:43 分类:技术文章

本文共 5011 字,大约阅读时间需要 16 分钟。

原文:

PyCoder

  • 200101 (大妈) 用时 42 分钟 完成快译
  • 200101 (大妈) 用时 17 分钟 完成格式转抄.

------

    • PYTHONCLOCK.ORG

Python 2.7 will not be maintained past Jan 1st, 2020. So long Python 2, and thank you for your years of faithful service. Python 3, your time is now!

(是也乎:

当然, 海量 Py2.7 兼容代码, 将继续在非官方支持下良好运行到永远...

)

    • MOSHE ZADKA

“The Zen of Python is not ‘the rules of Python’ or ‘guidelines of Python’. It is full of contradiction and allusion. It is not intended to be followed: it is intended to be meditated upon. In this spirit, I offer this series of meditations on the Zen of Python.”

(是也乎:

蟒之禅 的原义就是引发沉思,而不是终止之...

)

    • REAL PYTHON

Learn how to use Python timer functions to monitor how fast your programs are running. You’ll use classes, context managers, and decorators to measure your program’s running time. You’ll learn the benefits of each method and which to use given the situation.

(是也乎:

Timer

总之: 内置计时器;

提供精确计时;

专用运行时计时;

专用性能分析器;

CLI 性能分析工具;

GUI 工具来观察性能分析数据;

KcgShot3Small.gif (GIF Image, 260 × 218 pixels)

单行代码性能监察;

内存监察工具.

)

    • ARMIN RONACHER

The creator of Flask reflects on the Python 2 to 3 migration and how the Python community handled the transition. Interesting read!

(是也乎:

数字游民 不同, 移民指就基础运行平台的迁移,不象 Python 1.x -> 2.x 的迁移, 亳无压力,因为, 当年根本就没什么成规模的 1.x 工程.

所以, 技术工程迁移, 多数阻力不在技术, 而在情绪, 就象人月神话,以及其它真实软件工程心理学著作中论及的...

代码相处时间久了, 一样有感情的, 被迫迁移到完全无感觉的新平台中, 就象改嫁...

)

    • JOHN D. COOK

Some good tips and ways to minimize the context interruption when moving between the shell and a Python session.

(是也乎:

厨子说的总是有用的....)

    • GEORGE HILLIARD

Embedded systems engineer builds a card-sized computer that boots Linux and runs MicroPython. Cool!

(是也乎:

网红事件了...

MicroPython

已经有人准备将之复制并配置为实体 BTC 銭包了...

)

    • PYPY BLOG

讨论

Discussions

NIL

文章,教程和嗯哼

Articles, Tutorials and Talks

    • NICK COGHLAN

“[It] seems worthwhile for me to write-up my perspective as one of the lead architects for that ecosystem on how I characterize the overall problem space of software publication and distribution, where I think we are at the moment, and where I’d like to see us go in the future.”

(是也乎:

简单的说, 还在春秋战国时代, 远没有稳定下来

)

    • TALK PYTHON
    • podcast

I was a guest on Mike Kennedy’s Talk Python podcast and we discussed a shortlist of 10 interesting tutorials published on Real Python in 2019. So if you’re looking to expand your year-end reading list you’ll find some inspiration there. It’s always a treat to be on Mike’s show—definitely check out his podcast!

(是也乎:

果然, 每年必须的 top1 文章/问题/讨论都是相同的:

如何运行你的 Python 脚本?

这其实, 也展示出了编程和非编程世界的根本差异.

)

    • REAL PYTHON
    • video

In this step-by-step course, you’ll learn how to sort in Python. You’ll know how to sort various types of data in different data structures, customize the order, and work with two different ways of sorting in Python.

(是也乎:

Sorting

Python 丰富的数据类型, 也就意味着有丰富的排序技巧...

)

    • OLEG ŻERO

Creating data batches for model training evaluated in context of loading data using Python generators, HDF5 files and NumPy using a sound processing machine-learning model as an example.

    • ERIK MARSJA

Dummy variables (or binary/indicator variables) are often used in statistical analyses as well as in more simple descriptive statistics.

    • GUILHERME KUNIGAMI

This post covers mypy in general terms as well many examples demonstrating the syntax and capabilities of this type checker.

    • ERIK MARSJA

Here you will learn how to install, uninstall, & upgrade Python packages using the pipx tool.

(是也乎:

Pipx

---w

)

    • MAGIC-WORMHOLE.READTHEDOCS.IO

(是也乎:

一本免费魔法书...

)

    • OLIVERA POPOVIĆ

好物

Interesting Projects, Tools and Libraries, Projects & Code

    • GITHUB.COM/IMBOKOV
    • • Shared by Ilya Bokov

Handles the hassle of handling the amount of fields to be serialized and queryset changes for each request for you.

    • ASTROPY.ORG

(是也乎:

Astropy -> 熵, 好词儿)

    • GITHUB.COM/NEERU1207
    • GITHUB.COM/KKROENING

(是也乎:

formula其实, FFmpeg 本身的控制界面足够稳了...

只是能将:

ffmpeg -i input.mp4 -i overlay.png -filter_complex "[0]trim=start_frame=10:end_frame=20[v0];\    [0]trim=start_frame=30:end_frame=40[v1];\    [v0][v1]concat=n=2[v2];[1]hflip[v3];\    [v2][v3]overlay=eof_action=repeat[v4];\    [v4]drawbox=50:50:120:120:red:t=5[v5]"\    -map [v5] output.mp4

变成:

import ffmpeg
in_file = ffmpeg.input('input.mp4')    overlay_file = ffmpeg.input('overlay.png')    (        ffmpeg        .concat(            in_file.trim(start_frame=10, end_frame=20),            in_file.trim(start_frame=30, end_frame=40),        )        .overlay(overlay_file.hflip())        .drawbox(50, 50, 120, 120, color='red', thickness=5)        .output('out.mp4')        .run()    )

还是值得的...

)

    • MAGIC-WORMHOLE.READTHEDOCS.IO
    • GITHUB.COM/MCFLETCH

(是也乎:

C 专属领域终于也被入侵了...)

📆🐍 活动/大会

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

    • January 4, 2020
    • 印度
    • January 6, 2020
    • January 7, 2020
    • 中美洲
    • January 8, 2020
    • 德国
    • January 8, 2020
    • 英国
    • January 8, 2020
    • ??
    • January 8, 2020
    • 404
    • January 8, 2020
    • USA
    • January 9, 2020
    • USA
    • January 9, 2020
    • USA

DAMA

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

    • 4py :-}
    • 5py ;-)

(( ̄▽ ̄):

第4期已开始, 为期6周;

当前 ch2    200112 按时结束

年后第5期就来:

200203 值得上线

)

    • TWITTER.COM/MARCUSBORBA

(是也乎:

网红小视频也出现了...

最后3秒, Python 疯狂反转一切.

)

是也乎

NN 3879

  • 首发:
  • 修订:

101camp4py 进行中

官网 https://py.101.camp/

  • 191201 正式开课
  • 200112 按时结束
  • 5py 大年初十开始报名

:||||||

Powered by: /

本文由博客一文多发平台 发布!

转载地址:https://blog.csdn.net/zoomquiet/article/details/103794700 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:蟒周刊-400-无依赖项的轻量级Excel读/写器
下一篇:蟒周刊-402-Ubuntu 20.04 LTS 果断禁断 Python 2

发表评论

最新留言

路过按个爪印,很不错,赞一个!
[***.219.124.196]2024年04月14日 21时56分28秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章

大疆机甲大师教育机器人Python API中文化之一:枪亮枪暗 2019-04-26
大疆机甲大师教育机器人Python API中文化之二:LED闪烁 2019-04-26
大疆 RoboMaster 机甲大师官方刚刚开通”机甲小 S 实验室”知乎专栏 2019-04-26
大疆机甲大师教育机器人Python API中文化之三:底盘灯效 2019-04-26
大疆机甲大师教育机器人Python API中文化之四五:云台灯效,指定序号 2019-04-26
大疆机甲大师教育机器人Python API中文化之六:关灯 2019-04-26
“中文编程”知乎专栏两岁了——山雨欲来风满楼 2019-04-26
大疆机甲大师Python API之七:做个闹钟 2019-04-26
【意外走向】大疆机甲大师Python API之八:计时——为性能测试展开1000次循环 2019-04-26
RFC#2457——Rust 语言支持非 ASCII 码标识符在 GitHub 引发的激辩(一) 2019-04-26
RFC#2457——Rust 语言选择支持非 ASCII 码标识符在 GitHub 引发的激辩(二) 2019-04-26
”为什么有这么多人执着于中文编程?”回答两千赞留念及回应 2019-04-26
【家务】盘点小孩玩具零件缺失情况 2019-04-26
开发中文 API 的一些策略 2019-04-26
从日本编程书籍《我的第一本编程书》中译版看中文例程如何扬长避短——标识符(一) 2019-04-26
中文命名标识符如何区分类型和变量 2019-04-26
编程术语成系统中文化的意义 2019-04-26
草蟒 Python 中文 API 与 IDE 支持尝鲜 2019-04-26
一种改进中文 API 可读性的方法:参数不限于在末尾 2019-04-26
中文编程开发工具的生存模式探讨 2019-04-26