track ip addresses, lookup mac addresses, etc

Visual Studio Code for Python development

Published on 22 June 2022

Visual Studio Code for Python development

If you are a beginner to Python development, there are many editors and IDEs. If you are a school student, I would recommend that you download and install PyCharm Edu edition. It is free and has support for Python out of the box. You can get started working on Python within a few minutes using PyCharm Edu. I teach Python to my ACSL students and PyCharm Edu is my recommended IDE for beginners. Once you get the hang of Python, you can switch to more improved editors such as VS Code.

If you want a professional editor or IDE for Python development, Visual Studio Code (VS Code) is the best, in my opinion. At work, I use both Sublime Text (commercial edition) and Visual Studio Code. Note that VS Code is not unique to Python development, unlike PyCharm. However, there are several Python extensions that make VS Code very powerful for Python developers.

Download and install Visual Studio Code

Install the Python extension from VS Code

Create a hello world program

print('Hello world!', 1 + 4)

Shortcut on running Python programs

Instead of navigating to Run > Run Without Debugging each time, you can set a shortcut to run your Python programs. I use CTRL+B to run the current Python program.

To set up your shortcut to use CTRL+B, this is what you would do:

Created on 22 June 2022

TAGS: python, vscode

← Previous Post Working with JSON in Python

How to send email from Gmail with PHP Next Post →