This repository contains sample code illustrating various Python related projects and their recommended configuration. Each sample is a self-contained scenario that provides a recommended project configuration and some sample code to get you started. You can read, play with or adapt from these samples to create your own projects.
You can expect from each sample:
- An explanation of its functionality
- Link to a guide on the VS Code website, if it has one
- Appropriate configuration files
- Sample code
You need to have the Python extension including Pylance and the Python Debugger installed in VS Code. For some templates, Dev Containers are also recommended.
- Open the terminal and clone this repository:
git clone https://github.com/Microsoft/vscode-python-templates
- Open one of the template folders in VS Code:
code <path-to-sample-folder>
Alternatively, you can follow the instructions in each sample's README for setting up and running the sample.
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.