pip 不再支持 Python 2
原文: PyCoder's Weekly - Issue #457
- 210127 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 210127 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 解析 Python 语句
- BRETT CANNON
Learn how Python’s for statement works behind the scenes by diving into the bytecode and CPython source code.
(是也乎:
老爹早已设计好了一切
)
- 您真的不需要 Virtualenv
- FROST MING
- • Shared by Frost Ming
Virtual environments are a staple of the Python world, but they aren’t without their drawbacks. Learn why virtual environments aren’t always the right solutions and how to get around them without sacrificing dependency isolation.
(是也乎:
PEP 582
将 Python 拉入 NPM 黑洞世界的提案...
)
- Dying, Fast and Slow: Python中的内存不足崩溃
- ITAMAR TURNER-TRAURING
Learn about the different ways that memory issues can manifest in your Python programs, and how you can debug and fix them.
- 适用 Python 程序员的 C
- REAL PYTHON
In this tutorial, you’ll learn the basics of the C language, which is used in the source code for CPython, the most popular Python implementation. Learning C is important for Python programmers interested in contributing to CPython.
(是也乎:
这得多想不开哪, C 工程师一用 Python , 得多痛恨自己的世界...
)
- Mypy 0.800 发布/现在支持 Python 3.9
- MYPY-LANG.BLOGSPOT.COM
(是也乎:
打死也不升级到 1.0 的好朋友之一
)
- pip 21.0 发布/ 不再支持Python 2
- PYPA.IO
(是也乎:
bye Py2
)
探讨/吐糟
Discussions
- 咩是 “Soft Keywords”?
- STACK OVERFLOW
Today I learned Python has two kinds of keywords!
(是也乎:
奇怪的知识叕增加了...
PEP 622
https://www.python.org/dev/peps/pep-0622/
)
文章/教程/嗯哼
Articles, Tutorials and Talks
- 为 PyCascades 2021 创建一个交互式在线 Python 会议
- REAL PYTHON
- podcast
How do you create a virtual conference that retains the interactivity of an in-person event? What are the tools needed for talk submissions, ticketing, and live hosting? Can you find those tools written in Python?
- 在 Python 中用环境变量进行 App 配置
- RYAN BLUNDEN
- • Shared by Ryan Blunden
Learn how to use environment variables to configure your Python applications. You’ll see why using environment variables makes sense, as well as how to read, write, and delete environment variables using Python.
(是也乎:
和其它配置姿势类似, 都有爽点, 但是, 一滥用, 后患无穷.
)
- 10 个 Python 安全最佳实践 (Cheat Sheet)
- SNYK.IO
- sponsor
Learn how to avoid malicious packages in PyPI, fix common Python vulnerabilities, and more.
- 应该使用哪个 Django 版本?
- MATT LAYMAN
- opinion
When you’re starting a new Django project, which version of Django should you use? In this short opinion piece, Matt Layman lays out an argument for always starting with the latest version.
(是也乎:
广告这么作才对
)
- 用 Python eval() 动态执行表达式
- REAL PYTHON
- course
Learn how Python’s eval() works and how to use it effectively in your programs. Additionally, you’ll learn how to minimize the security risks associated with the use of eval().
(是也乎:
eval 是个好东西,
和 SQL 一样,
但是, 对等的 注入攻击
之类也是一样的麻烦.
)
- 经典空气动力学 Python
- LORENA BARBA
- AND
- OLIVIER MESNARD
This open-source series of lectures walks you through understanding classical aerodynamics and presents computations with Python in Jupyter Notebooks.
(是也乎:
经典 空气动力学
,
所以, 设计战斗机, 也能 Pythonic 了.
)
- 用 Python 和 Pandas Datareader 分析财务数据
- OLIVIA JOHNSON
Learn how to use the pandas-datareader package to do statistical analysis on financial data by comparing volatility in the S&P 500 to the Nasdaq.
- 用 MicroPython 和 C 的 Raspberry Pi Pico 入门
- JEAN-LUC AUFRANC
Learn how to set-up the new Raspberry Pi Pico and get up and running with a program that blinks an LED using MicroPython and C.
(是也乎:
之所以有 MicroPy 之类同类开发板加环境, 就是不用折腾 C 们了.
)
- 如何使用 Python: 您的第一步,也是世界的伟大进步
- REAL PYTHON
Learn the basics of how to use Python. With this knowledge, you’ll be able to start coding your Python applications.
(是也乎:
讲真, 第一步就是安装好 Python 运行时环境, 这可能是人生中最大的坑了, 俺用了5年才明白过来, 俺以为的安装好, 和真正的安装好, 差了几个 google 的高度.
)
- 在 Seaborn 中快速绘制直方图
- BEN COOK
- • Shared by Ben Cook
Get a quick introduction to plotting histograms with the Seaborn package.
(是也乎:
Seaborn 真心取巧:
将古老稳定的可视化库,套上 Pythonic 接口, 一切就不同了
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- visdom: 用于创建/组织和共享实时丰富数据可视化的灵活工具
- GITHUB.COM/FOSSASIA
(是也乎:
数据科学的 海康威视
)
- python-diskcache: Django 兼容的 Python 磁盘缓存
- GITHUB.COM/GRANTJENKS
(是也乎:
也只有 SSD 时代, 才有这种思路
)
-
- GITHUB.COM/NEUML
-
colorpedia: 用于查找颜色/阴影和调色板的命令行工具
- GITHUB.COM/JOOWANI
(是也乎:
永远的 CLI, 前苏联甚至于有 CLI 版本的 Photoshop
配色工人的富音... 当然, Win10 下面没什么终端可以运行这种工具.
)
- pandas-datareader: 将各种网络来源的拓展数据提取到 Pandas DataFrame 中
- GITHUB.COM/PYDATA
(是也乎:
Pandas 这么些年养活了多少研究生哪...
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
- ⋅ Real Python Office Hours (Virtual)
- January 27, 2020
(是也乎:
即便是线上的, 一样收费.
)
-
- January 30 – 31, 2021
-
- February 19 – 21, 2021
(是也乎:
)
- ⋅ PyCon 2021 (Virtual)
- May 12 – 18, 2021
(是也乎:
反正很早都上 油管了, 随时可以 review, 当然, 这个随时, 随时了很多年都没刷光.
)
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
(是也乎:
老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:
)
PS:
好文笔,感叹号年度配额: 0/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
NN 4271
Comments