Visual Studio Code offers a Python extension from its Extension Marketplace. It can be added directly from the IDE by completing the following steps.
- Click on the Extensions icon
![The graphic displays where you can find the Extensions icon for Python.](https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/p_MknADYRcOzJJwA2IXDBw_5bd88b44c9e04af99112b21823908fe1_extensions_icon.png?expiry=1658188800000&hmac=LX33oiAESGFMDWmbkH96fWeaxUQUCC-31xUugCmjUrs)
2. In the search bar, type in Python. A few different extensions will return but the one you want is the extension provided by Microsoft.
![The graphic shows where you must type in Python in the search bar.](https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/TWE_OL3FQGqhPzi9xZBqeA_9ca98df4a30346c6b90c7afeded3d0e1_python_extension.png?expiry=1658188800000&hmac=OruphDyM-YMRJ2I5uAtvzDfQwBZxm_QwwkfBi_V_JMA)
3. Click the install button. You may need to restart your IDE after the installation is complete.
References
[1] Coursera