Skip to content

Python Appetiser in the form of Jupyter notebook(s)

Notifications You must be signed in to change notification settings

thiersa/Python-Appetiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Appetiser presentation / training

Binder

Run this notebook from a conda environment presentation. In this directory type:

$ source activate presentation
$ jupyter notebook notebooks/Python-Appetiser.ipynb

Please make a copy from the source, because using the notebook will actually make changes.

To make a pdf from the notebook run thіs command:

$ jupyter nbconvert --to slides notebooks/Python-Appetiser.ipynb --allow-errors --reveal-prefix reveal.js --post serve

It opens up a webpage in the browser at http://localhost:8000/Python-Appetiser.html#/.

Replace the trailing #/ by ?print-pdf in the above URL.

Save to PDF in Chrome using the print option

  • Open the in-browser print dialog (Cmd/Ctrl + P).
  • Change the Destination setting to Save as PDF.
  • Change the Layout to Landscape.
  • Change the Margins to None.
  • Enable the Background graphics option.
  • Click Save.

To re-create the conda environment, do:

$ conda list --export > requirements.txt
$ conda create --name <new_name> --file requirements.txt

About

Python Appetiser in the form of Jupyter notebook(s)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published