Python Tools for Visual Studio2023-05-02T09:09:19-07:00

Develop Python applications

Python

Editing, debugging, interactive development for Python apps, using familiar frameworks including Django and Flask

screenshot of python development

Visual Studio installation

The default installation of Visual Studio offers the ability to add elements necessary to develop in Python and other languages

Editing

Editing

An editor that knows your code

Let Visual Studio think about your code and tell you which types go where. Tooltips, completions and code snippets make you more productive.

Libraries

Find and install the libraries you need

Third-party libraries are the fastest way to solve your problems. Use our pip, PyPI and virtual environment support to manage your projects and dependencies.

Packages
Debugging

Debugging

Interactively diagnose issues with your code on Windows and Linux

None of us write perfect code all the time, but when it goes wrong Visual Studio can help. Visually step through your code, view or modify state, and interact with your program regardless of the operating system.

Version Control integration

Collaborate on code with Git

Use Git as the default source control experience in Visual Studio right out of the box. From the new Git menu, you can create or clone repositories from GitHub or Azure DevOps. Use the integrated Git tool windows to commit and push changes to your code, manage branches, sync with your remote repositories, and resolve merge conflicts.

UnitTests

Unit tests

Validate your changes in the editor

Make sure your code is working correctly without leaving Visual Studio. View, edit, run, and debug unit test-style tests from the Test Window.

Open source

Fork us on Github

Python Tools for Visual Studio is a completely free extension, developed and supported by Microsoft with contributions from the community. Visit our Github page to see or participate in PTVS development.

Open Source

Feedback