How to hide code Jupyter Notebook - 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: How to hide code Jupyter Notebook (/thread-9962.html) |
How to hide code Jupyter Notebook - Larz60+ - May-07-2018 Hi, In Jupyter Notebook you can embed a web video with a code cell like: from IPython.display import HTML HTML('<iframe width="560" height="315" src="https://www.youtube.com/embed/nKW8Ndu7Mjw?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>')However, when that is run you get the following, which is ugly: [attachment=403] I found what was supposed to be a solution, by adding a comment on first line: # @hidden_cellBut it doesn't appear to work. Does anyone know what works. I want to see the video, but not the code. |