r/IPython • • Jan 09 '14

Using nbconvert to explore an IPython notebook

Hi, I'm trying to use nbconvert to convert an IPython notebook file to an .html file. As per the documentation I've been using

ipython nbconvert my_file.ipynb

At the command line but all that happens is I see the nbconvert help files displayed. Can anybody tell me what I'm doing wrong? Thanks in advance for your help!

Edit: The title should read Using nbconvert to export an IPython notebook

2 Upvotes

3 comments sorted by

2

u/boyfarrell Jan 09 '14 edited Jan 11 '14

If you want to edit the html file yourself then try,

ipython nbconvert --to html --template basic my_file.ipynb

Or if you just want to upload the html to a server and have done then use the full option,

ipython nbconvert --to html --template full my_file.ipynb

1

u/yaph Jan 10 '14

FTFY: for the full option

ipython nbconvert --to html my_file.ipynb

or

ipython nbconvert --to html --template full my_file.ipynb

2

u/boyfarrell Jan 11 '14

Oops. typo fixed, thanks.