The Jupyter notebook has a plug-in to transform cells to a slide show. This way, you can combine normal slides with code blocks, that can be evaluated during the presentation. Jupyter notebook cells can contain all sorts of code: python, bash, R, etc.

First, you will need to install jupyter. This can easily be done locally.
pip install --upgrade pip --user ## upgrades pip
pip install jupyter --user ## install jupyter
Then, you will need to install a plugin for jupyter
pip install RISE --user
jupyter-nbextension install rise --py --user
jupyter-nbextension enable rise --py --user
You can now navigate to a folder and start a notebook server.
cd my/project/folder/
jupyter notebook
Then, select View / Cell Toolbar / Slideshow and choose a cell type for each cell. The presentation can be started by clicking the slideshow button on the main toolbar.


TODO: custom styles