Make slides with iPython

Premise

What is iPython

http://ipython.org/

IPython 3.x will be the last monolithic release of IPython, containing the notebook server, qtconsole, etc. The language-agnostic parts of the project: the notebook format, message protocol, qtconsole, notebook web application, etc. will move to new projects under the name Jupyter.

What is Jupyter

https://jupyter.org/

What is reveal.js

http://lab.hakim.se/reveal-js/#/

environment

Create slides

ipython nbconvert

https://ipython.org/ipython-doc/3/notebook/nbconvert.html

ʻIpython nbconvert --to FORMAT notebook.ipynb and FORMATisslides` to create slides.

He introduces how to make it with the actually made slides.

http://www.slideviper.oquanta.info/tutorial/slideshow_tutorial_slides.html#/

However, the information is old, so only the atmosphere.

The quickest way to check at hand

python


ipython nbconvert --to slides notebook.ipynb --post serve

Then it will open up to your browser.

However, if you don't modify the converted html file, this is enough,

Gyazo

Input [] I think I don't want to put it on the slide.

hide input cell

IPython Slideshows Will Change the Way You Work https://gist.github.com/hannes-brt/6207507

ipython nbconvert --to slids input.ipynb --stdout | ipy_hide_input > input.slides.html

If so, it makes it possible.

However, in my environment, where print of ʻipy_hide_input is used, change it to print () `.

python


ipython nbconvert --to slids notebook.ipynb --stdout | python ipy_hide_input > notebook.slides.html

Put the reveal.js (which didn't work with reveal.js 3.1.0) folder in the same folder as notebook.ipynb (Inside, <script src =" reveal.js / js / reveal.js "> </ script>)

python -m http.server

If you access http: // localhost: 8000 / notebook.slides.html with

Gyazo

Input [] is gone.

GADFLY?

Will it convert things that can be interactively drawn on the browser with svg instead of matplotlib so that they can be made into slides properly? Of course I want you to do it.

Recommended Posts

Make slides with iPython
Make Lambda Layers with Lambda
Make Yubaba with Discord.py
Start IPython with virtualenv
When using optparse with iPython
Parallel computing with iPython notebook
Make sci-fi-like buttons with Kivy
Make iPython available on OSGeo4W
Let's make Othello with wxPython
Play with Jupyter Notebook (IPython Notebook)
Make a fortune with Python
Run Apache-Spark with IPython Notebook
Graph drawing with IPython Notebook
Make a fire with kdeplot
Make Slack chatbot with Errbot
Use Bokeh with IPython Notebook
Let's make a diagram that can be clicked with IPython
R & D life with iPython notebook
Make Echolalia LINEbot with Python + heroku
Make apache log csv with python
Make ASCII art with deep learning
Let's make a GUI with python.
Make a sound with Jupyter notebook
Script execution at startup with ipython
Let's make a breakout with wxPython
Let's make Othello AI with Chainer-Part 1-
Make the default interactive shell IPython
Make testing with Selenium more accessible
Make a recommender system with python
Make compute server diskless with LTSP
Using Japanese with Rodeo's IPython @ Windows
Build IPython Notebook environment with boot2docker
Let's make a supercomputer with xCAT
Let's make Othello AI with Chainer-Part 2-
Make a model iterator with PySide
Make people smile with Deep Learning
Make Scrapy an exe with Pyinstaller
Make a nice graph with plotly
Make the Python console covered with UNKO
Make an audio interface controller with pyusb (2)
Let's make a shiritori game with Python
Make a video player with PySimpleGUI + OpenCV
Make an audio interface controller with pyusb (1)
Use apache Spark with jupyter notebook (IPython notebook)
Make GUI apps super easy with tkinter
Make a rare gacha simulator with Flask
Make a Notebook Pipeline with Kedro + Papermill
Fractal to make and play with Python
Make a partially zoomed figure with matplotlib
Make a drawing quiz with kivy + PyTorch
Let's make a voice slowly with Python
Make PLEN Control Server compatible with ViVi PLEN2
Make pypy submission easier with atcoder-cli (python)
Make a cascade classifier with google colaboratory
Let's make a simple language with PLY 1
Make a logic circuit with a perceptron (multilayer perceptron)
Make a Yes No Popup with Kivy
Make a wash-drying timer with a Raspberry Pi
Make a GIF animation with folder monitoring
Let's make a web framework with Python! (1)
Let's make a tic-tac-toe AI with Pylearn 2