Skip to main content

Installing Python

Installing Python on Windows is a straightforward process. Here is a tutorial on how to do it:
  1. Download the Python installer for Windows from the official website: https://www.python.org/downloads/windows/

  2. Open the downloaded installer package by double-clicking on it.

  3. Follow the prompts to install Python on your Windows. The installer will guide you through the installation process and install the necessary components.

  4. Make sure to select the option to add Python to the system PATH, this will allow you to use python and pip commands from the command prompt without specifying the full path.

  5. Once the installation is complete, you can open the command prompt and type python to open the Python interpreter. You can also type pip to open the package installer for Python.

  6. You can also use IDLE, an integrated development environment that comes with Python, or other IDEs like PyCharm or IDLE to develop and run Python code.

  7. To check the python version installed, you can run python --version in command prompt

Python is a powerful and widely-used programming language, known for its simplicity and ease of use. With a large and active community, there are many libraries and frameworks available for various tasks, making it a great choice for beginners and experienced developers alike.

Note that, in Ubuntu/Mac, python2 is still installed in parallel with python3, so you can use python2 if you want, but it's recommended to use python3 for the new projects as python2 reached end-of-life at the end of 2019.