Take control of open source security—discover ActiveState’s new management platform!

WATCH NOW

Use case: Automate Python Setup in VSCode

Share

Summary

See how to automate Python setup in Visual Studio Code with the ActiveState Platform

How to Automate Python for Visual Studio Code

This video provides a quick overview of how the ActiveState Platform can be used to simplify the way VSCode loads the Python runtime for your current project.

To create your own runtime environment, featuring up-to-date, secure packages and their fully resolved dependencies, you can start by creating a free ActiveState Platform account.

What is Visual Studio Code?

Visual Studio Code (VS Code) is an extremely popular code editor from Microsoft, available for Windows, Linux, and macOS. Despite being free, it’s every bit as powerful as its big brother, Visual Studio, which helps explain why it’s used by almost 75% of software developers according to the latest Stack Overflow Developer Survey.

It’s also highly customizable with over 25,000 extensions available from a central repository.

You can use the VS Code Python extension not only to switch between Python runtimes more easily, but combined with support for the ActiveState Platform’s ability to automatically generate and install Python runtimes in virtual environments, it offers developers the simplest way to manage and work with Python. Additional features include:

  • Environments: Automatically activate and switch between ActiveState Python virtual environments.
  • IntelliSense: Provides auto-completion, code navigation, syntax checking, and more.
  • Linting: Perform code analysis with Pylint, Flake8, and more.
  • Code formatting: Format your code with black, autopep, or yapf.
  • Debugging: Support for script, web app, remote, or multi-threaded process debugging.
  • Testing: Run and debug tests through the Test Explorer with unittest or pytest.
  • Jupyter Notebooks: Create and edit Jupyter Notebooks, render plots, and visualize variables and dataframes.
  • Refactoring: Restructure code with variable and method extraction.

To read the blog based on this video, head here.

Watch Next: How to use the ActiveState Platform to create an artifact repository.

Additional Resources

Scroll to Top