GT96 GT96 - 3 months ago 13
Git Question

How to save code file on GitHub and run on Jupyter notebook?

With GitHub we can store our code online, and with Jupyter notebook we can execute only a segment of our Python code. I want to use them together. I am able to edit code with Jupyter notebook that is stored on my computer. But, I am unable to find a way to run a code that stored on GitHub. So, do you know a way to do that.

Here are some examples:


Github is a tool for version and source control, you will need to get a copy of the code to a local environment.

There is a beginner's tutorial here

Once that you have set up a github account and define your local and remote repositories, you will be able to retrieve the code with git checkout. Further explanation is in the tutorial