1

I am taking a Udemy course for Python which has a number of its lectures typed down on in Jupiter format and stored at GitHub. Is there an easy way to print to pdf all of the lectures as opposed to opening each one individually?

For reference, I'm including the GitHub link below.

GitHub Lectures

Mauro
  • 307
  • 4
  • 8

1 Answers1

1

If you have installed the prerequisite tools, then you could:

  • clone the repository
  • find all ipynb files
  • for each one, jupyter nbconvert --to pdf afile

Consider using GNU findutils

Basile Starynkevitch
  • 223,805
  • 18
  • 296
  • 547
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Where exactly do you execute the "jupyter nbconvert --to pdf afile" command? and I take it that "afile" is the name of the file? Side note, I'm rather new to this. – Mauro Jun 26 '20 at 06:05
  • @Mauro Where you have found each `ipynb` file. "`afile`" represent the `ipynb` file name, for each one you find. – VonC Jun 26 '20 at 06:07