jakevdp / WhirlwindTourOfPython

The Jupyter Notebooks behind my OReilly report, "A Whirlwind Tour of Python"
Creative Commons Zero v1.0 Universal
3.73k stars 1.61k forks source link

Question about the book? #12

Open ofenerci opened 7 years ago

ofenerci commented 7 years ago

Congratulations for the book! I have a question regarding the production of the book. Have you written the book by using Jupyter notebooks or used LaTeX?

jakevdp commented 7 years ago

I wrote the book in Jupyter notebooks.

ofenerci commented 7 years ago

It is wonderful book what I see from its first chapters. You may publish a blog post how you produced the book using Jupyter (I follow your Jupyter posts on your blog). It is still difficult for me going Emacs (or Vim) to Jupyter to type a book or document.

jakevdp commented 7 years ago

There's actually not much to it: I used the standard Jupyter notebook API to type text and code, and once the book was finished I used these scripts to turn it into a website. OReilly did the conversion to printed format with an internal tool built on pandoc.

ugoproto commented 7 years ago

Tks for sharing (and the note about nbviewer). I want to build a little Python course on a website; I'm juggling with a couple of solutions. I work a lot with RStudio and RMarkdown. But I could not find anything similar with Python; things are improving with the extensions. I consider your approach to build the material. The Software Carpentry website is not bad either. It is reproducible in MkDocs or Pelican. And we can apply Admonitions (coloured ribbons). Any other pythonic tools/widget you know about or would like to point out?

jakevdp commented 7 years ago

For static site generation in Python, I've used Pelican, Nikola, and Hyde. I've had the best luck with Pelican (though I did build my personal website with Hyde: http://vanderplas.com)