Documentation - Python

Description

Python est un langage de programmation orienté objet interprété. Il est facilement portable d'un OS à l'autre et l'interprèteur est installé en standard sur un grand nombre de distributions Linux, FreeBSD, Mac OS X & Solaris. Sa puissance réside aussi dans la manipulation facile d'ensemble. Les opérations d'inclusions, d'intersections, d'unions... sont faisables en utilisant l'API stantard. Python possède aussi des API permettant l'utilisation facile d'appel système (sur les systèmes Posix). Ces avantages font de Python un bon choix pour des applications rapides à écrires et ne nécessitant pas les performances que l'on peut optenir de programmes compilés écrit en C.

GRAB, a Python tutorial

This tutorial is mostly composed of an iPython/Jupyter Notebook. To get most of it, you should use iPython and Jupyter! See : https://ipython.org/

In order to simplify the consultation of the slides, we produced 2 STATIC HTML versions of the notebook. To use these, you don't need to install anything except a somewhat recent browser, BUT it is not possible to execute Python commands in these versions, or to interact with the notebook. For the worst cases, you can also consult the PDF version of the notebook and of the slides.

Static (non-interactive) versions of the tutorial

Interactive iPython Notebook

To use the notebook interactively, you must:

This will open a browser window allowing you to visualize, interact, and modify the tutorial. If you have installed RISE, you will even be able to visualize and interact with the slides.

The Grab project

Informations complémentaires

Installation locale

Python 2.7 et Python 3 sont installés. Python 2.7 est utilisé par défaut. Ils sont installés dans /opt/python[version]. Attention, Python 3 présente des changements radicaux par rapport à Python 2.x

Un tutoriel d'installation est disponible à l'adresse https://wiki.student.info.ucl.ac.be/Logiciel/Python3

Recupéré sur https://wiki.student.info.ucl.ac.be/Documentation/Python
Page mise à jour le 11 août 2020 à 09h58