Setting up a Python development environment

This tutorial shows how to prepare your local machine for Python development, If you already have a development environment set up then you can skip this section.


Objectives

  • Install Python

  • Test the Python development environment


Install Python

  • Download the python SDK according to your operating system. Follow the link

  • Wait until the download process complete

  • When download complete please double-click on the file (This is for Windows user.)

  • From the Python installation wizard must check the [_/] Add Python x.x to PATH, from the bottom.

  • Click on Install now

  • Wait until the installation process complete, then click on close


Test the Python development environment

  • Open terminal (Linux) or console (MacOS) or cmd (Windows)

  • Write python --version and press enter from keyboard. If Installation successful then will show you the version number.

$ python --version
Python 3.9.5


Python development environment setup video tutorial