Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
77 views

How To Install A Python Interpreter and A Python Editor - Visual Studio Code

This document provides instructions for installing a Python interpreter and the Visual Studio Code editor. It recommends downloading the Python interpreter from python.org and installing updates. It also recommends downloading Visual Studio Code from code.visualstudio.com and installing extensions like Code Runner and Python to run and debug code directly from the editor.

Uploaded by

Sungki Jung
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

How To Install A Python Interpreter and A Python Editor - Visual Studio Code

This document provides instructions for installing a Python interpreter and the Visual Studio Code editor. It recommends downloading the Python interpreter from python.org and installing updates. It also recommends downloading Visual Studio Code from code.visualstudio.com and installing extensions like Code Runner and Python to run and debug code directly from the editor.

Uploaded by

Sungki Jung
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Technical Note 2020 - RA: 11201720246 Date: 15/Sep.

/2020

How to install a Python


interpreter and a Python editor
(Visual Studio Code)

Pedro Henrique Steganha Luta

15. Sep. 2020.

Applied Aerodynamics Labratory

Centro de Engenharia, Modelagem e Ciências Sociais Aplicadas

Universidade Federal do ABC

E-mail: pedrosteganha@gmail.com
Technical Note 2020 - RA: 11201720246 Date: 15/Sep./2020

Contents

Abstract………………………………………………………...3

Introduction……………………………………………………3

Chapter 1. Python Interpreter ……………………………...4

Chapter 2. Visual Studio Code …………………………….5


Technical Note 2020 - RA: 11201720246 Date: 15/Sep./2020

Abstract
Python is a programming language that is gaining a lot of users all around
the world, lately. The built-in libraries make so you can import only the functions
you need to use for your code, this way the language doesn’t lack in depth of
commands, but also doesn’t slow down because of too many functions.

This tutorial will help you install a Python interpreter and a code editor
(VSCode) so you can edit your Python codes.

Introduction
Python is a programming language that is simple to understand yet it’s a
powerful tool for pretty much all applications. When run, a Python file (.py) will be
interpreted by a program and its contents will be executed.

So that you can write your Python file (.py) you will need a text editor. You
could use the built in Windows Notepad, but it will lack the properties of other
well-known and used text editors such as Visual Studio Code.
Technical Note 2020 - RA: 11201720246 Date: 15/Sep./2020

Chapter 1. Python interpreter


The Python interpreter is provided by the developers and can be found at
https://www.python.org/downloads/ .

It is recommended to update the interpreter from time to time as new


functions are implemented and bugfixes are pushed on older versions.

All you need to do is run the installer and a copy of a Python interpreter
will be installed into your machine.
Technical Note 2020 - RA: 11201720246 Date: 15/Sep./2020

Chapter 2. Visual Studio Code


A Python interpreter is useless unless you write your Python files to be
interpreted by it. To do such a task, a tool you could use is Visual Studio Code,
also known as VSCode.

To install VSCode, go to https://code.visualstudio.com/download and


download the program.

Once you download it, you need to install some extensions to make your
experience better. For example, the Code Runner extension makes so that you
can run your code while still inside the text editor and the Python extension brings
in a lot of tools to debug, format and work on your Python code.
Technical Note 2020 - RA: 11201720246 Date: 15/Sep./2020

The usual workspace will look like this:

To open a file, you simply click on File -> Open and browse for your desired file.

Otherwise, you can select a folder to be shown at the side of the workspace by
selecting File -> Open Folder

You might also like