About

This Jupyter notebook demonstrates the features of the Notebook!!

http://jupyter-notebook.readthedocs.io


In [ ]:
from IPython.display import FileLink, FileLinks

Notebook Format

  • JSON

Viewing Notebooks

Converting Notebooks

jupyter-nbconvert.exe --to slides ipython_gui.ipynb --reveal=reveal.js --post serve

Shell commands


In [12]:
!ls -1rt *.png


ipython_gui.png
ipython_gui_button.png
ipython_gui_notebook_qtconsole.png
ipython_gui_notebook_qtconsole_2.png

Tab completion

  • Can be accessed by pressing the TAB key (In a code cell)

Loading Images

Python


In [ ]:
from IPython.display import Image
Image("jupyter_notebook_login.png")

Loading a bunch of images from the current directory

Note: The following example assumes that that path.py module is installed


In [11]:
from IPython.display import Image, display
import path


cwd = path.getcwdu()

cwdpath = path.Path(cwd)

for pngfile in sorted(cwdpath.listdir("*.png")):
    print(pngfile)
    print(Image(pngfile))
    #display(Image(pngfile))
    print("\n")


F:\src\learning\python\jupyter\tutorial\ipython_gui.png
<IPython.core.display.Image object>


F:\src\learning\python\jupyter\tutorial\ipython_gui_button.png
<IPython.core.display.Image object>


F:\src\learning\python\jupyter\tutorial\ipython_gui_notebook_qtconsole.png
<IPython.core.display.Image object>


F:\src\learning\python\jupyter\tutorial\ipython_gui_notebook_qtconsole_2.png
<IPython.core.display.Image object>


Markdown

The following markdown syntax can be used to embed an image

![title](notebook/jupyter_notebook_autocomplete_1.png)