All posts with label

Header: nvim-fold

Automatically folding Python docstrings in Neovim

2024-06-22

Python docstrings are extremely suitable to be folded, and folding docstrings makes Python code cleaner. This can be achieved in Neovim without plugin, just with built-in foldexpr and tree-sitter.

Playing sound with Qt in Python: Error decoding source

2022-07-11

The correct way for playing sound with PySide6 and fixing the "error decoding source".

Use pipenv and poetry in a way that works

2020-08-23

Strange as the title is, they just don't work conveniently "out of box"

异步 & 异步获取命令输出

2020-02-05

与 JavaScript 的异步对比,初步了解 Python 的异步,并通过异步获取命令输出“实战”

我为什么要选 Flask?

2020-01-03

注意,这里不是说 Flask 有多好,而是。。用 Flask 用到怀疑人生!

1