GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lifez/vscode-python: Python extension for Visual Studio Code

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

3,238 Commits
3,238 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github
.github
 
 
.vscode
.vscode
 
 
build
build
 
 
data
data
 
 
images
images
 
 
languages
languages
 
 
news
news
 
 
pythonFiles
pythonFiles
 
 
resources
resources
 
 
schemas
schemas
 
 
snippets
snippets
 
 
src
src
 
 
syntaxes
syntaxes
 
 
tpn
tpn
 
 
types
types
 
 
typings
typings
 
 
.editorconfig
.editorconfig
 
 
.env
.env
 
 
.eslintrc
.eslintrc
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.nvmrc
.nvmrc
 
 
.vscodeignore
.vscodeignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CODING_STANDARDS.md
CODING_STANDARDS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
PYTHON_INTERACTIVE_TROUBLESHOOTING.md
PYTHON_INTERACTIVE_TROUBLESHOOTING.md
 
 
README.md
README.md
 
 
ThirdPartyNotices-Distribution.txt
ThirdPartyNotices-Distribution.txt
 
 
ThirdPartyNotices-Repository.txt
ThirdPartyNotices-Repository.txt
 
 
experiments.json
experiments.json
 
 
gulpfile.js
gulpfile.js
 
 
icon.png
icon.png
 
 
package-lock.json
package-lock.json
 
 
package.datascience-ui.dependencies.json
package.datascience-ui.dependencies.json
 
 
package.json
package.json
 
 
package.nls.de.json
package.nls.de.json
 
 
package.nls.es.json
package.nls.es.json
 
 
package.nls.fr.json
package.nls.fr.json
 
 
package.nls.it.json
package.nls.it.json
 
 
package.nls.ja.json
package.nls.ja.json
 
 
package.nls.json
package.nls.json
 
 
package.nls.ko-kr.json
package.nls.ko-kr.json
 
 
package.nls.nl.json
package.nls.nl.json
 
 
package.nls.pl.json
package.nls.pl.json
 
 
package.nls.pt-br.json
package.nls.pt-br.json
 
 
package.nls.ru.json
package.nls.ru.json
 
 
package.nls.zh-cn.json
package.nls.zh-cn.json
 
 
package.nls.zh-tw.json
package.nls.zh-tw.json
 
 
requirements.txt
requirements.txt
 
 
tsconfig.datascience-ui.json
tsconfig.datascience-ui.json
 
 
tsconfig.extension.json
tsconfig.extension.json
 
 
tsconfig.json
tsconfig.json
 
 
tsfmt.json
tsfmt.json
 
 
tslint.json
tslint.json
 
 
vscode-python-signing.csproj
vscode-python-signing.csproj
 
 
webpack.config.js
webpack.config.js
 
 
webpack.datascience-ui.config.js
webpack.datascience-ui.config.js
 
 

Repository files navigation

Python extension for Visual Studio Code

A Visual Studio Code extension with rich support for the Python language (for all actively supported versions of the language: 2.7, >=3.5), including features such as IntelliSense, linting, debugging, code navigation, code formatting, Jupyter notebook support, refactoring, variable explorer, test explorer, snippets, and more!

Quick start

  • Step 1. Install a supported version of Python on your system (note: that the system install of Python on macOS is not supported).
  • Step 2. Install the Python extension for Visual Studio Code.
  • Step 3. Open or create a Python file and start coding!

Set up your environment

  • Select your Python interpreter by clicking on the status bar

  • Configure the debugger through the Debug Activity Bar

  • Configure tests by running the Configure Tests command

For more information you can:

  • Follow our Python tutorial with step-by-step instructions for building a simple app.
  • Check out the Python documentation on the VS Code site for general information about using the extension.

Useful commands

Open the Command Palette (Command+Shift+P on macOS and Ctrl+Shift+P on Windows/Linux) and type in one of the following commands:

Command Description
Python: Select Interpreter Switch between Python interpreters, versions, and environments.
Python: Start REPL Start an interactive Python REPL using the selected interpreter in the VS Code terminal.
Python: Run Python File in Terminal Runs the active Python file in the VS Code terminal. You can also run a Python file by right-clicking on the file and selecting Run Python File in Terminal.
Python: Select Linter Switch from Pylint to Flake8 or other supported linters.
Format Document Formats code using the provided formatter in the settings.json file.
Python: Configure Tests Select a test framework and configure it to display the Test Explorer.

To see all available Python commands, open the Command Palette and type Python.

Feature details

Learn more about the rich features of the Python extension:

  • IntelliSense: Edit your code with auto-completion, code navigation, syntax checking and more

  • Linting: Get additional code analysis with Pylint, Flake8 and more

  • Code formatting: Format your code with black, autopep or yapf

  • Debugging: Debug your Python scripts, web apps, remote or multi-threaded processes

  • Testing: Run and debug tests through the Test Explorer with unittest, pytest or nose

  • Jupyter Notebooks: Define and run code cells, render plots, visualize variables through the variable explorer and more

  • Environments: Automatically activate and switch between virtualenv, venv, pipenv, conda and pyenv environments

  • Refactoring: Restructure your Python code with variable extraction, method extraction and import sorting

Supported locales

The extension is available in multiple languages thanks to external contributors (if you would like to contribute a translation, see the pull request which added Italian): de, en, es, fr, it, ja, ko-kr, pt-br, ru, zh-cn, zh-tw

Questions, issues, feature requests, and contributions

  • If you have a question about how to accomplish something with the extension, please ask on Stack Overflow
  • If you come across a problem with the extension, please file an issue
  • Contributions are always welcome! Please see our contributing guide for more details
  • Any and all feedback is appreciated and welcome!
    • If someone has already filed an issue that encompasses your feedback, please leave a 👍/👎 reaction on the issue
    • Otherwise please file a new issue
  • If you're interested in the development of the extension, you can read about our development process

Data and telemetry

The Microsoft Python Extension for Visual Studio Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. This extension respects the telemetry.enableTelemetry setting which you can learn more about at https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting.

About

Python extension for Visual Studio Code

marketplace.visualstudio.com/items?itemName=ms-python.python

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.