Ott*_*tos 6 python docstring jupyter-notebook
我正在寻找一种工具/扩展,可以帮助您在 jupyter notebook 中编写 python 文档字符串。
我通常使用 VS 代码,其中您有自动生成文档字符串模板(例如 sphinx 或 numpy 模板)的autodocstring扩展。在 jupyter notebook 中是否有类似的东西?
我在网上找了很久,一直找不到。
在笔记本单元中运行:
%config IPCompleter.greedy=True
Run Code Online (Sandbox Code Playgroud)
然后在您想要自动完成的位置按 Tab 键。
(摘自Reddit 帖子)