How to Run a Python File Through GitHub with GitHub Code Spaces 

Languages and ConceptsStudent Entry
codespaces logo

  1. Visit your repository. This is what mine looks like: 
  1. Confirm you are on the correct branch you would like to test
  1. Once finished confirming it is the correct repository locate the green “<> code” button. 
  1. Select the “Codespaces” tab:
  1. Select the green “Create codespace on (name of your branch)” button 
  1. Another site will pop up that look very familiar to CS Code 
  1. In the bottom right of the page it will prompt you to install the base package for python 
  1. If it does not do so, go to the extensions tab on the left and search for python 
  1. After installing python and waiting a minute a play button should pop up in the top right corner: 

Leave a Reply

Your email address will not be published. Required fields are marked *