Use this template to quickly get started writing simple Python console applications.
You'll have to be logged into GitHub, or create an account if you don't have one. Click here to sign up to GitHub.
At the top of the repository page, click "Code" -> "Create codespace on main". This can take a couple minutes to set up.
With the codespace open in your browser, head to the Extensions pane and make sure that the Python extension is installed.
From the Explorer pane, open app.py
. To run the program, hit the play button in the top right corner.
After running the program, you should see "Hello world!" appear in the terminal.
Free codespace usage is time-limited. To stop the codespace, click "Codespaces" in the very bottom left corner. A set of options will appear at the top of the screen - select "Stop Current Codespace".
To get the path of a file, right-click a file in the Explorer pane and click "Copy Path".