2
$\begingroup$

What would be a practical way to convert a Jupyter Notebook to a Word document (.doc) ? I am asking this in a professional context, so I'd like to avoid manual solutions, do it in an efficient way (fast), avoid third parties... etc. Something that works like Rmarkdown to produce .doc would be very welcome.

$\endgroup$
2
$\begingroup$

The easiest way is probably using a method similarly to what is described in this answer, that is, convert the notebook to markdown and then use any of the tools available (such as Pandoc) to convert the markdown to a Word document.

| improve this answer | |
$\endgroup$
  • $\begingroup$ I did see that question (and answer), but couldn't find a way to convert .md from python. It appears that pypandoc would do the trick. Thanks. $\endgroup$ – lcrmorin Jan 24 at 21:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.