Sign inSign up

mdelgert/hello-python

By mdelgert

•Updated over 1 year ago

Image
0

198

mdelgert/hello-python repository overview

⁠PythonDevContainer

This repository demonstrates how to run Python in a development container using Visual Studio Code.

⁠Prerequisites

Before you begin, ensure you have the following installed:

⁠Getting Started

  1. Clone this repository:

    git clone https://github.com/mdelgert/PythonDevContainer.git
    cd PythonDevContainer
    
  2. Open the repository in Visual Studio Code.

  3. Reopen the folder in a development container:

    • Press F1 to open the Command Palette.
    • Search for and select Dev Containers: Reopen in Container.
  4. Once the container is ready, open a terminal in Visual Studio Code and run Python scripts as needed:

    python example.py
    
  5. To install additional Python packages, use pip:

    pip install package_name
    

Tag summary

Content type

Image

Digest

sha256:9c33521a2…

Size

175.8 MB

Last updated

over 1 year ago

docker pull mdelgert/hello-python