nyu-econ-370 icon indicating copy to clipboard operation
nyu-econ-370 copied to clipboard

Downloading Jupyter notebooks from GitHub

Open mmcky opened this issue 9 years ago • 9 comments
trafficstars

When you download an ipynb file using the RAW button in GitHub it displays the text int the browser. This is json code and contains all of the jupyter notebook cells. You can copy this text into a file and name it with the extension ipynb and it will contain the notebook when using it with Jupyter.

This is a little clunky so another options is:

  1. Launch an instance of the mybinder service
  2. Navigate to the notebook of interest
  3. Right Click and select Download linked file as

mmcky avatar Feb 18 '16 15:02 mmcky

Thank you a lot =))

polikb avatar Apr 17 '17 18:04 polikb

Thanks!

permanents33eker avatar Jul 03 '17 15:07 permanents33eker

Thanks

sjm20066 avatar Sep 11 '17 12:09 sjm20066

Thanks a lot!!!

Varun-Dabbiru avatar Nov 04 '17 06:11 Varun-Dabbiru

Thanks!

ArthKate avatar Apr 22 '18 10:04 ArthKate

First click on Raw. Then, press ctrl+s to save it as .ipynb. Open jupyter notebook. Go to the location where you saved .ipynb file. Open file, you will see the code.

Source: https://stackoverflow.com/questions/45622602/how-to-jupyter-notebooks-from-github

nikhilparmar avatar May 29 '18 10:05 nikhilparmar

Thanks..this is working

pdhruv93 avatar Sep 04 '18 13:09 pdhruv93

Thank you

H4KN avatar May 18 '22 19:05 H4KN

If the first step (that is click on RAW) doesnot do anything (as it didnot work for me), so there is an alternative. The alternative step is to click on pencil icon (to Edit) which will show the code. So copy the contents in a notepad and save as .ipynb instead of .txt. (pls cancel the edit after you have saved the content in a file in your local computer). Then open the file in jupyter it will work like you wanted it to be. Hope this helps ! githubbs

prakashanand01 avatar Feb 22 '23 17:02 prakashanand01