How to convert an ipython notebook to html with collapsed output (and/or input)

后端 未结 3 1322
故里飘歌
故里飘歌 2021-01-19 02:36

I have an ipython notebook I\'d like to share with colleagues who may not have ipython installed.

So I converted it to html with :

ipyth         


        
3条回答
  •  既然无缘
    2021-01-19 02:46

    You can use below code to convert your notebook into HTML with code as collapsed.

    from IPython.display import HTML
    
    HTML('''
    
    ''')

提交回复
热议问题