save a juptyer notebook with specific name within the code

前端 未结 1 525
遥遥无期
遥遥无期 2021-01-22 15:25

I have a Jupyter notebook that is more or a less a \'template\' of how things are done. For example the notebook is a template of say each country\'s economic data. All of the

相关标签:
1条回答
  • 2021-01-22 16:03

    You may have to jump to %%javascript to interact with Jupyter, which is different to the ipython kernel that the python code is sent to, e.g.:

    %%javascript
    Jupyter.notebook.copy_notebook()
    

    Not sure you can copy with a specific name.
    You can programmaticly rename the current notebook with:

    Jupyter.notebook.rename(<new_name>)
    
    0 讨论(0)
提交回复
热议问题