[英]How to convert a jupyter notebook to a python script without cell notation?
[英]How to add button to hide cell inputs in python jupyter notebook without nbextensions
我是 python 的新手,不了解標簽和單元格元數據。 我想在 jupyter notebook 本身中添加隱藏單元格輸入代碼的按鈕,如圖: https://jupyterbook.org/interactive/hiding.html > 隱藏單元格輸入。 有人可以指導我嗎?
如果你想在筆記本上添加一個按鈕,你必須有一個擴展名。
您可以使用現有的https://github.com/osscar-org/jupyterlab-hide-code或自己做。
否則,您可以使用“視圖”菜單中的“折疊”命令。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.