I have a Python/Pandas script that will generate some reports I would like. Currently, NBConvert will always save the file as the title of my iPython notebook. Ideally, were my report on the subject of cars I would like a [Ferrari, Ford, Tesla,...] report each saved under their respective company names [Ferrari.html, Ford.html, Tesla.html,...]. Importantly, this is all created from one notebook "Car_Data.ipynb".
I have read the documentation here: NBConvert Documentation
This notes that: "The output file created by nbconvert will have the same base name as the notebook and will be placed in the current working directory."
Does anyone know of a way to script this type of HTML output from an iPython notebook.
Currently, I have implemented the code below which saves the current notebook under the current filename:
#This is a script sourced from: http://stackoverflow.com/questions/19067822/save-ipython-notebook-as-script-programmatically to save our notebook as HTML
try :
if(__IPYTHON__) :
!ipython nbconvert --to html Cluster_Availability_Charts.ipynb;
except NameError :
pass
Thank you for the assistance!