nyu-econ-370
nyu-econ-370 copied to clipboard
Downloading Jupyter notebooks from GitHub
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:
- Launch an instance of the
mybinderservice - Navigate to the notebook of interest
- Right Click and select
Download linked file as
Thank you a lot =))
Thanks!
Thanks
Thanks a lot!!!
Thanks!
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
Thanks..this is working
Thank you
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 !
