I have a Jupyter Notebook program, which do analysis for me. After it's been run, I want to save it as HTML so I can view it later. (And then I can change the input data file to do analysis for other data.)
Typically, I do this by hand. This would look like
But this feels very tedious for me. So I'm wondering if there is any code can do this for me? Maybe something like
%save_html
# or with a file_name
%save_html file_name
Note: I have figured out a workaround for this. But I didn't find too much info by search, so I post it here and it may help someone else having the same problem. I'll post my solution as an answer.
