Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading Jupyter notebooks from GitHub #10

Open
mmcky opened this issue Feb 18, 2016 · 9 comments
Open

Downloading Jupyter notebooks from GitHub #10

mmcky opened this issue Feb 18, 2016 · 9 comments

Comments

@mmcky
Copy link
Owner

mmcky commented Feb 18, 2016

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
Copy link

polikb commented Apr 17, 2017

Thank you a lot =))

@permanents33eker
Copy link

Thanks!

@sjm20066
Copy link

Thanks

@Varun-Dabbiru
Copy link

Thanks a lot!!!

@ArthKate
Copy link

Thanks!

@nikhilparmar
Copy link

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
Copy link

pdhruv93 commented Sep 4, 2018

Thanks..this is working

@H4KN
Copy link

H4KN commented May 18, 2022

Thank you

@prakashanand01
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants