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 plots, and analysis is standardized.
I'm looking for a way to have this saving done in a coded way rather than manually naming it myself. Is there anyway so that if I have a variable labeled as:
my_assignment = 'india'
I could save the notebook name as
file_name = my_assignment + todays_date
save(file_name)
I code in python.
You may have to jump to
%%javascript
to interact withJupyter
, which is different to theipython
kernel that thepython
code is sent to, e.g.:Not sure you can copy with a specific name.
You can programmaticly rename the current notebook with: