Skip to content

Instantly share code, notes, and snippets.

View farhanhubble's full-sized avatar
🎯
Focusing

farhanhubble farhanhubble

🎯
Focusing
View GitHub Profile
@farhanhubble
farhanhubble / auto-nbconvert.md
Created January 19, 2022 10:26 — forked from fa-ahmad/auto-nbconvert.md
Trigger Nbconvert on Jupyter Notebook

Use the entr command to watch the Notebook for changes.

ls myfile.ipynb| entr -r jupyter nbconvert myfile.ipynb --to slides --post serve --ServePostProcessor.open_in_browser=False

The URL of the slides gets printed in the terminal:

Serving your slides at http://127.0.0.1:8000/myfile.slides.html

Sources: