Open IPython notebooks (*.ipynb) in read-only view (like a HTML file)

前端 未结 7 1366
旧巷少年郎
旧巷少年郎 2021-01-31 17:13

Nowadays with more and more IPython notebook files (*.ipynb) around, it is very disturbing every time when I want to peek at some notebook I have to open a server for it, and ca

7条回答
  •  失恋的感觉
    2021-01-31 17:44

    When you change the notebook files' permissions, jupyter's auto-save doesn't touch them:

    chmod a-w *.ipynb

    Then jupyter goes into read-only mode:

提交回复
热议问题