Executing .py files in VS Code (conda/mamba)

Executing .py files in VS Code (conda/mamba)#

Warning

This page is about the conda / mamba package manager. Since 2025, we recommend using pixi instead, see the updated chapter

Learning Objectives#

After working through this topic, you should be able to:

  • Select different python interpreters in VS Code

  • Run python files in VS Code

Materials#

Video:

Download the slides.