Go4Expert Tutorials

Programming And Web Development Tutorials

 
  • Home
  • Tutorials
  • Python
  • PERL
  • ASP.Net
  • C++
You are here: Home / Tutorials / Python / Python Installation

Python Installation

It's time to prepare your environment for Python.

To Install Python, you should have administrator rights.

Now, this is the only section where we will advise you not to read the complete tutorial. Instead, read the part related to your Operating System.

Please click on the link for your operating system

  1. Windows
  2. Mac OS X
  3. Ubuntu

Python installation on Windows

1. Get the Python:

The best way to get Python is from its official website https://www.python.org/downloads/. We recommend you to download the latest version, i.e., Python 3.6.4

Python-tutorials-Python-download-Windows-Go4Expert

When you click on the highlighted button, prompt will ask you to save the file on your computer.

2. Install the Python:

Double Click on the Python setup. This will open a simple wizard.

Check both the checkboxes, install launcher for all users and Add Python 3.6 path. Agree to the Terms and Conditions and follow instructions for installation.

Python-tutorials-Python-installer-Windows-Go4Expert

Python will be installed on Windows.

3. Launching Python:

Python can be launched by using IDLE and command prompt.

  • Using IDLE: Press windows button, type IDLE and hit EnterPython-tutorials-Python-IDLE-screen-Windows-Go4Expert
  • Using command prompt: Being the command prompt with Windows Button + R, type cmd and hit enter. On the command prompt, type python and hit enter

Python-tutorials-Python-command-prompt-screen-Windows-Go4Expert

Python installation for Mac OS X:

1. Get the Python:

The best way to get Python is from its official website https://www.python.org/downloads/. We recommend you to download the latest version, i.e., Python 3.6.4

When you click on the highlighted button, prompt will ask you to save the file on your computer.

Python-tutorials-Python-installation-Mac-OS-X-Go4Expert

2. Install the Python:

Double Click on the Python setup. This will open a simple wizard.

Agree to the Terms and Conditions and follow instructions for installation.

Python-tutorials-Python-installer-Mac-OS-X-Go4Expert

3. Launching Python:

Python can be launched by using IDLE and command prompt.

  • Using IDLE: Go to Search type IDLE and hit Enter.

Python-tutorials-Python-IDLE-Launch-Mac-OS-X-Go4Expert

  • Using Terminal:  Open Terminal, type python, and hit enter

Python-tutorials-Python-IDLE-screen-Mac-OS-X-Go4Expert

 

3. Python installation on Ubuntu:

1. Get the Python:

The best way to get Python is from its official website https://www.python.org/downloads/. We recommend you to download the latest version, i.e., Python 3.6.4

When you click on the highlighted button, prompt will ask you to save the file on your computer.

Python-tutorials-Python-download-ubuntu-Go4Expert

2. Install Python:

If you have saved the tar.xz file in Download folder, then you can directly proceed with the following steps.

Open the terminal and Type following commands:

cd Downloads/
tar xf Python-3.6.4.tar.xz
cd Python-3.6.4
./configure
sudo make
sudo make install
view raw shell-commands hosted with ❤ by GitHub

3. To launch Python: Open the terminal and type Python3

For Ubuntu, you can use vim or nano editor

Key Takeaways:

  1. We installed latest 3.6.4 version of Python in our system.
  2. We can use IDLE or our command Prompt/Terminal for Launching Python.

For now, you should be ready to move ahead by now. Will see you in next chapter where we will introduce you to basic syntax of Python by understanding some interesting situation in Daniel’s Startup.

« Python Overview Python Interpreter, IDLE and Exercise »

Table of Content

  • Python Overview
  • Python Installation
  • Python Interpreter, IDLE and Exercise
  • Python Basic Syntax
  • Python Variables And Data Types
  • Python Operators and Their Precedence

© Go4Expert Tutorials 2004 - 2025. All Rights Reserved.