Installation of Python

Linux

  • Your Linux distribution should already come with a Python installation.
  • Verify the installation and the version of Python.
  • If Python is not installed, follow the official documentation for Python installation :

Verification of the installation and the version of Python

  • In a console, type:
    $ python
    
  • The number of the version is displayed right after the interpretor is launched.
    For example :
    Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
    ...
    

Mac

  • Mac OS X should already come with a Python installation.
  • Verify the installation and the version of Python.
  • If Python is not installed, follow the official documentation for Python installation :

Verification of the installation and the version of Python

  • In a console, type:
    $ python
    
  • The number of the version is displayed right after the interpretor is launched.
    For example :
    Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
    ...
    

Windows

Installation tested on Windows XP.

Verification of the installation and the version of Python

  • Launch Python in command line mode (path for Windows XP):
    E.g.: Start > Programs > Python 2.7 > Python (command line)
  • The number of the version is displayed right after the interpretor is launched.
    For example :
    Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
    ...