Save code with output to HTML file type - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Save code with output to HTML file type (/thread-17055.html) |
Save code with output to HTML file type - agohir - Mar-26-2019 Hello, I'm new to using JupyterLab and was wondering if someone knows how I can save my code & output as HTML so I can view it later. Unfortunately, I can't find a direct option in menu bar or if I right click there's no option to directly save as HTML. Is there a code that may help save to HTML? Thanks, -A RE: Save code with output to HTML file type - snippsat - Mar-26-2019 You should be able to to Download to HTML. There are several other ways,but as shown over is simplest. From command line: !jupyter nbconvert your_notebook_name.ipynb --to htmlUse nbviewer(free) or GitHub that can render Notebooks as static HTML files. RE: Save code with output to HTML file type - agohir - Mar-26-2019 I'll answer the question myself. Since I'm using Anaconda. I opened the file in Jupyter notebook where I have option to save as HTML from top Menu Bar. EDIT: Thanks @snippsat for the screenshot!! |