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.
- Verify the installation and the version of Python.
- If Python is not installed, follow the official documentation for Python installation :
- Use the Python version mentioned in the Technical Setup of your Workshop
- E.g.: 2.7.2: http://www.python.org/download/releases/2.7.2/
- In fact, you'll only have to download the .msi package (windows installer) and run it.
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) ...