Fineshop welcomes you! Link Button

Setup Visual Studio Code for Python

Setup Visual Studio Code for Python

Summary: in this tutorial, you’ll learn how to set up Visual Studio Code for Python.

A quick introduction to the Visual Studio Code

Visual Studio Code is a lightweight source code editor. The Visual Studio Code is often called VS Code. The VS Code runs on your desktop. It’s available for Windows, macOS, and Linux.

VS Code comes with many features such as IntelliSense, code editing, and extensions that allow you to edit Python source code effectively. The best part is that the VS Code is open-source and free.

Besides the desktop version, VS Code also has a browser version that you can use directly in your web browser without installing it.

This tutorial teaches you how to set up Visual Studio Code for Python environment so that you can edit, run, and debug Python code.

Setting up Visual Studio Code

To set up the VS Code, you follow these steps:

First, navigate to the VS Code official website and download the VS code based on your platform (Windows, macOS, or Linux).

Second, launch the setup wizard and follow the steps.

Once the installation completes, you can launch the VS code application:

https://www.pythontutorial.net/wp-content/uploads/2020/10/Setup-visual-studio-code-for-Python.png

Install Python Extension

To make the VS Code works with Python, you need to install the Python extension from the Visual Studio Marketplace.

The following picture illustrates the steps:

https://www.pythontutorial.net/wp-content/uploads/2020/10/VS-Code-Python-Extension.png

  • First, click the Extensions tab.
  • Second, type the python keyword on the search input.
  • Third, click the Python extension. It’ll show detailed information on the right pane.
  • Finally, click the Install button to install the Python extension.

Now, you’re ready to develop the first program in Python.

  

post section Don't remove this section, otherwise theme will crash.

Rate this article

Getting Info...

Cookies Consent

This website uses cookies to ensure you get the best experience on our website.

Cookies Policy

We employ the use of cookies. By accessing Plus UI, you agreed to use cookies in agreement with the Plus UI's Privacy Policy.

Most interactive websites use cookies to let us retrieve the user’s details for each visit. Cookies are used by our website to enable the functionality of certain areas to make it easier for people visiting our website. Some of our affiliate/advertising partners may also use cookies.