Skip to content

A Codespaces template for developing simple console applications with Python

Notifications You must be signed in to change notification settings

repercussive/simple-python-codespace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Codespaces template

Use this template to quickly get started writing simple Python console applications.

Steps

Log into GitHub

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.

Create a codespace from this template

At the top of the repository page, click "Code" -> "Create codespace on main". This can take a couple minutes to set up.

Ensure the necessary extensions are installed

With the codespace open in your browser, head to the Extensions pane and make sure that the Python extension is installed.

Run the Python program

From the Explorer pane, open app.py. To run the program, hit the play button in the top right corner.

image

After running the program, you should see "Hello world!" appear in the terminal.

Stop the codespace when you're finished using it.

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".

Tips

Copy file path

To get the path of a file, right-click a file in the Explorer pane and click "Copy Path".

About

A Codespaces template for developing simple console applications with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%