Before we start, we need to install Python on our system.
So, navigate to the downloading page of Python by entering the following URL in your browser :
https://www.python.org/downloads/
Windows:
1. The following page will appear in your browser.

2. Click the Download Python 3.4.1 button.
–> The file named python-3.4.1.msi should start downloading into your standard download folder. This file is about 24 Mb.
The file should appear as

Installation
1. Double-click the icon labeling the file python-3.4.1.msi.
–> An Open File – Security Warning pop-up window will appear.

2. Click Run.
–>A Python 3.4.1 Setup pop-up window will appear.

Make sure that the Install for all users radio button is selected.
3. Click Next > button.
–> A new Python 3.4.1 Setup pop-up window will appear (Select Destination Directory).

The default directory will appear in the bottom as C:\Python34\
4. Click the Next > button.
A new Python 3.4.1 Setup pop-up window will appear (Customize Python 3.4.1).

Use the default customization, which selects the Python Interpreter and all its libraries (about 42 Mb).
5. Click the Next > button.
In a few seconds a pop-up window titled User Account Control will appear, posing the question Do you want the following program to install software on this computer ?

6. Click the Yes button.
–> A new Python 3.4.1 Setup pop-up window will appear (Install Python 3.4.1).

During installation, it will show the various operations it is performing and a progress bar for each one.
Eventually a new Python 3.4.1 Setup pop-up window will appear (Complete the Python 3.4.1 Installer).

7. Click the Finish button.
Python should now be installed. To try to verify installation, navigate to the directory C:\Python34 (or to whatever directory on which you installed Python) double-click the icon/file python. The following pop-up window will appear.

A pop-up window with the title C:\Python34\python.exe appears, and inside the window on the first line is the text Python 3.4.1 … (notice that it should say 32 bit).
Inside the window, at the bottom left, is the prompt >>>: type exit() to this prompt and press enter to terminate Python
NOTE: You need to have JAVA installed on your machine for Python.
MAC:
1. The following page will appear in your browser.
2. Click the Download Python 3.4.1 button.
An Opening python-3.4.1-macosx10.6.dmg pop-up window will appear

Click Save File.
The file named python-3.4.1-macosx10.6.dmg should start downloading in your standard download folder.
Installation
1.Double-click the icon labeling the file python-3.4.1-macosx10.6.dmg.
–> A file folder named Python 3.4.1 containing the Python.mpkg file will appear.

2. Control-click on the Python.mpkg file and select open.
If the following pop-up window appears

enter you password and click Install Python
An Install Python pop-up window will appear.

3. Click Continue button.
–> A new Install Python pop-up window will appear.

4. Click the Continue button.
–> A new Install Python pop-up window will appear.

5. Click the Continue button.
–> A new pop-up window asking you to agree to the license terms will appear.

6. Click Agree.
–> A new Install Python pop-up window will appear.

By default Python will be installed in your Hard Disk Drive Machintosh HD/Applications/Python3.4.
7. Click Install.
–> The previous pop-window will reappear, displaying the message
Install Python 3.4.1
Please wait while the Installer installs Python 3.4.1. This may take
several minutes.
During installation, it will show the various operations it is performing and a progress bar for each one.
Eventually a new Install Python pop-up window will appear.

8. Click the Close button.
–> Python should now be installed. To try to verify installation, navigate to the directory Machintosh HD/Applications/Python3.4
double-click the icon/file IDLE. The following pop-up window will appear.

A pop-up window with the title *Python 3.4.1 Shell* appears, and inside the window on the first line is the text Python 3.4.1 ….
Click the red (terminate) icon to terminate this pop-up window.
NOTE: You need to have JAVA installed on your machine for Python.





