原文: PyCoder's Weekly - Issue #374
- 如何用 Python Lambda 函数
- REAL PYTHON
In this step-by-step tutorial, you'll learn about Python lambda functions. You'll see how they compare with regular functions and how you can use them in accordance with best practices.
(是也乎:
简单说, 用在应该用的地方就好
)
- 如何在 Python 中轻松嗯哼进度条
- CODINGDOSE.INFO
- • Shared by Franccesco Orozco
A survey of Python progress bar libraries like Progress, ProgressBar2, TQDM, Click, and Clint that allow you to add animated progress bars to your command-line apps.
(是也乎:
进度条, CLI 中的, 简直就是选择困难症激发重灾区...
)
"Our experience at ICS with Python and PyQt is that large complex (typically desktop) applications can be developed with Python. Users can't tell that it was implemented in Python and not C++. Performance is typically not an issue, and experienced Qt C++ developers can quickly make the transition to Python."
(是也乎:
哈..多么痛的领悟...
Qt Creator...能不用就不用...
)
- 用 Python 从头构建一个简单的解释器
- RUSLAN SPIVAK
Part 15 in Ruslan's ongoing series about building an interpreter from scratch, with Python.
- ARIMA Model: Python 中时序预测的完整指南
- MACHINELEARNINGPLUS.COM
In this post, you'll build an optimal ARIMA model from scratch and extend it to Seasonal ARIMA (SARIMA) and SARIMAX models. You will also see how to build autoarima models in Python.
- 给 C/Java 程序员的 Python 简介
- GITHUB.COM/IVOAH
A guide to Python written for an audience who is already familiar with languages such as C and Java.
(是也乎:
叕一则面向 C/JAVA 程序猿的 Python 介绍软文...
其实, 光是一个缩进的好处说明白了, 就足够了...
)
- 在 Python 中生成随机数据
- REAL PYTHON
- video
In this course, you'll cover several options for generating random data in Python, and then build up to a comparison of each in terms of its level of security, versatility, purpose, and speed.
(是也乎:
Q 的...
)
- 用 PyOxidizer 构建独立 Python 应用
- GREGORY SZORC
"PyOxidizer's marquee feature is that it can produce a single file executable containing a fully-featured Python interpreter, its extensions, standard library, and your application's modules and resources."
(是也乎:
全新的独立应用封装器... 居然是 Rust 开发的...
等等, 为什么 Rust 对 Python 这么 Nice? 答案不言而喻...
)
讨论
Discussions
-
如何缩短大型(> 1.5k测试)Pytest 测试套件运行时间?
- TWITTER.COM/NIKLASMM
-
-
- TWITTER.COM/WILDVASA
(是也乎:
用 Python 的 SSG 编译为静态网站发布到 X-Pages 空间中
)
- Guido: 我从C预处理器中偷到了 Python 的 elif
- TWITTER.COM/GVANROSSUM
(是也乎:
非常8卦
)
文章,教程和嗯哼
Articles, Tutorials and Talks
- Python 的 Mypy 高级用法
- REUVEN LERNER
"In my last article, I covered some basic uses for Mypy. Here, I want to expand upon those basics and show how Mypy really digs deeply into type definitions, allowing you to describe your code in a way that lets you be more confident of its stability."
(是也乎:
俺蟒 --> 激进的 Python , 当然, 也可以是更爽的 Python.
)
- Python 中的基本输入,输出和字符串格式
- REAL PYTHON
In this step-by-step Python tutorial, you'll learn how to take user input from the keyboard with the built-in function input(), how to display output to the console with the built-in function print(), and how to format string data with the string modulo operator.
(是也乎:
其实, Py3 有更好的解决形式了... 只是, 基础形式永远可用, 是好的. )
- 在 Python 中解析嵌套 JSON 记录
- BRETT MULLINS
"For analyzing complex JSON data in Python, there aren't clear, general methods for extracting information [... ] This post provides a solution if one knows the path through the nested JSON to the desired information."
- 从 Python 到 Go 再到 Rust:一个有意义的旅程
- ALLO-MEDIA.NET
"Go is cool but doesn't provide enough type safety for me. I would rather stick with Python and its ecosystem than risking re-writing stuff in Go if I don't need concurrency." Related discussion on Hacker News
(是也乎:
如果不是严重依赖并发, 嫑上 golang ...
等等, 说的好象 Python 并发能力很弱似的?
)
- 在 Python 软件基金会幕后
- PYTHONPODCAST.COM
- podcast
An interview about how the Python Software Foundation helps the language and community and how you can help them in their mission.
- Innovate Software at OSCON
- O'REILLY
- sponsor
Join us this July at the O'Reilly Open Source Software Conference (OSCON) to discover what's shaping software development and dive into the key technologies needed to build resilient, useful, innovative software. Save 25% with code PYCODER
(是也乎:
O 记大会算是非常良心的, 每年都有好物爆料...
)
- Clojure & Python, Side by Side (2011)
- JUSTIN KRAMER
"As an exercise, I translated Peter Norvig's Sudoku solver from Python to Clojure."
(是也乎:
8年前的嗯哼...
)
- 加速 Python 数据分析的10个 Hack
- PARUL PANDEY
好物
Interesting Projects, Tools and Libraries, Projects & Code
-
pytest-plugins: A Grab-Bag of Nifty Pytest Plugins
- GITHUB.COM/MANAHL
-
- CHEMICS.GITHUB.IO • Shared by Gavin Wiggins
-
Real-Time-Voice-Cloning: 在5秒内克隆语气,实时生成任意语音
- GITHUB.COM/CORENTINJ
(是也乎:
实时 ML 模块, 基于5秒语音即可生成全新语音...
)
- PySimpleGUI: Python GUI Toolkit
- GITHUB.COM/PYSIMPLEGUI
(是也乎:
古老的 GUI 工程:
尝试将 Tk/Qt/Wx/... 封装起来, 用统一的简洁形式来控制... 然后...直接丢出了一个几十页的 readme ..
作者曰:
...who wrote PySimpleGUI is not important. It's the software that's important
)
- HTTP3: Python 3 的下一代 HTTP 客户端
- ENCODE.IO
(是也乎:
所以, cURL 替代品一直有非常大的需求...
也就是说 requests 工程是真的腐烂了...
)
- clojure-py: An Implementation of Clojure in Pure (Dynamic) Python
- GITHUB.COM/DREWR
(是也乎:
嗯哼? 这个有意思了...
和 PyPy 类似, 用动态语言作为 VM 来承载其它语言, 可以获得更多惊喜... 只是, 为什么是 Clojure?
)
- inline-python: Inline Python Code Directly in Your Rust Code
- GITHUB.COM/FUSION-ENGINEERING
(是也乎:
将 Python 代码直接嵌入到 Rust 代码中自动运行...
有点儿意思哪...
)
📆🐍 活动/大会
Events
-
- June 28 to June 30, 2019
- 尼日利亚
-
- June 29, 2019
- 里约热内卢
-
- June 29 to June 30, 2019
- 阿根廷
-
- June 29 to June 30, 2019
- Colombia
-
⋅ Melbourne Python Users Group
- July 1, 2019
- 墨尔本
-
- July 3, 2019
- 早餐?
-
- July 4, 2019
- French
-
⋅ Sydney Python User Group (SyPy)
- July 4, 2019
- 澳洲
-
- July 16–17 in NYC
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- 七牛云年中大促
- sponsor
[七牛云服务]没赶上618?七牛云年中大促,狂欢到月底!存储秒杀低至0.001元/G,云主机0元抢,另有多款产品5折起,每日限量购,手慢无!https://dwz.cn/HfTSeUHE
(是也乎:
7牛 应该是亚洲最大单体 golang 服务了, 从创始之初就一直给 CPyUG 系列社区以渠道联盟的待遇, 提供空间和流量, 长期用下来, 对比其它 CDN 是真的好用...
CLI 工具最舒服的一家了.
)
- 蟒营 Python 入门班
- 本周毕业
下期应该 7月1
~ helps you setup a new Python project
(是也乎:
总是永远有人问这个问题... 当然, 这个问题任何一个技术社区都有人在问...
其实, 本质上并不是对应技术是否有什么能力, 而是相反...
)
Jobs:
...
- Wangjunyu/MemectRecruitment: 文因招聘
- 北京
- anti-996
是也乎
- 190626 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 190626 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄.
Comments