mmcky / nyu-econ-370

Quantitative Economics with Python Course (NYU) Spring 2016
54 stars 56 forks source link

Downloading Jupyter notebooks from GitHub #10

Open mmcky opened 8 years ago

mmcky commented 8 years ago

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
polikb commented 7 years ago

Thank you a lot =))

permanents33eker commented 7 years ago

Thanks!

sjm20066 commented 7 years ago

Thanks

Varun-Dabbiru commented 6 years ago

Thanks a lot!!!

ArthKate commented 6 years ago

Thanks!

nikhilparmar commented 6 years ago

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

pdhruv93 commented 6 years ago

Thanks..this is working

H4KN commented 2 years ago

Thank you

prakashanand01 commented 1 year ago

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