VSCode 支持直接 Jupyter Notebook 编辑了

原文: PyCoder's Weekly - Issue #390

PyCoder

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

Assignment expressions, positional-only arguments, = specifier in f-strings, and more. Click the link for the full changelog and download links.

What does Python 3.8 bring to the table? Learn about some of the biggest changes and see you how you can best make use of them.

(是也乎:

py3.8.0

Python 也跟上了刷版本号并追加特性来刷声望的节奏...

大约 2027 年就能用上 Python 42.0.0 了

)

Developers assumed that glob.glob() returns a sorted list of files, but it doesn't. And this led to a number of statistical errors and data discrepancies in several published scientific papers.

(是也乎:

一个内建函式误解导致的血案... 只能说大家相互抄的忒勤快了...

)

In this step-by-step course, you'll master the Python range() function, learn how its implementation differs in Python 3 vs 2, and see how you can use it to write faster and more Pythonic code.

(是也乎:

真蟒 的插图是真心走心了...

x2x3

)

"Meta-programming is an act of building functions and classes who can manipulate code by modifying, wrapping existing code or generating code."

(是也乎:

叕一则 元编程 体验... 只是, 这根本是语言自身表达能力不足时, 开放自省接口给用户来扩展表述的哪... 当然, 这么一来, 语言本身不稳定的锅就可以愉快的丢给用户了.

)

See the release notes for a list of changes and new features.

ARM aarch64 support, new JSON decoder, sandboxing makes a return, ...

讨论

Discussions

(是也乎:

一个月前预言过, 真的达到了...

不过, Twitter 上也有人评论, 大半是 Py2 的, 小半是 迁移为 Py3 的

)

文章,教程和嗯哼

Articles, Tutorials and Talks

Pandas qcut and cut are both used to bin continuous values into discrete buckets or bins. This article explains the differences between the two commands and how to use each.

Learn about using Emacs for Python development. You'll install and configure Emacs on your selected platform, then write Python code to explore its capabilities. Finally, you'll run, test, and debug Python code in the Emacs environment.

(是也乎:

Emacs

神之编辑器 -> Emacs 理论上是任何语言最强 IDE.

)

Learn how to read SAS (.sas7bdat) files in Python, and how to write a SAS file to CSV using Pandas and pyreadstat.

(是也乎:

兼容其它数据分析语言专用数据格式,让其它语言去屎

)

Related discussion/rebuttal on Hacker News.

(是也乎:

Python 用了 30年努力, 终于变成一个平庸的语言, 这才赢得了市场, 没毛病...

)

(是也乎:

Jupyter

终于官方穿锤了, 原以为这应该是第一时间支持的... 毕竟 github 都支持几年了, 而 VSCocde 本身就是基于浏览器的, 没理由不支持 Jupyter, 目测, 只是版权问题?

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

等等, 为什么 GUI 框架突然爆炸起来? 哈...Flutter 刺激的, 叕一个试图一键生成跨所有平台 GUI 代码的框架,

当然, 为了跨平台, 将 GUI 限制在非常少的元素组件中...

Material Design 范儿

)

(是也乎:

叕一个 cURL 的 Python 化工具

)

(是也乎:

zsh 已扶正, 那么基于 Py 的当然也有机会

)

📆🐍 活动/大会

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

(是也乎:

pycode.png (PNG Image, 200 × 63 pixels)

)

DAMA

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

第3期已开课, 为期6周; 191103 按时结束, 到时再约 4py ;-)

(是也乎:

这几天 CPyUG 列表中讨论的项目, Wasm 的 Python 实现... 只是:

pyodide

自己编译都失败哪...太早期了...

)

是也乎

NN 3802


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->