发布时间

jupyter notebook 格式化代码

作者

Chad

缘起

使用 jupyter notebook 想一键格式化代码和内容

  • 安装 jupyter_contrib_nbextensions

👇🏻

  1. pip3 install jupyter_contrib_nbextensions
  2. jupyter contrib nbextensions install
  3. pip3 install yapf

打开jupyter notebook,进入 Nbextensions,勾选上Code prettify

image-20220616150241782

Support

赞赏

如果这些内容对你有所帮助,欢迎赞赏支持。