initiation_a_python
Ceci est une ancienne révision du document !
Table des matières
Initiation à python
Python
Installation
Linux: c'est déjà installé Win$ et Mac: débrouillez-vous ?
Interpréteur
Je décide de bpython3
Quelques commandes
bpython version 0.16 on top of Python 3.5.3 /usr/bin/python3 >>> 1 1 >>> 3.14 3.14 >>> 1+2 3 >>> labomedia Traceback (most recent call last): File "<input>", line 1, in <module> labomedia NameError: name 'labomedia' is not defined >>> "Labomedia" 'Labomedia' >>>
int float string opération
Variable
>>> a=1 >>> b=2 >>> a+b 3
Mot clé
and as class def elif else except False for from global if import in lambda None not or pass return True try while with
initiation_a_python.1530707914.txt.gz · Dernière modification : 2018/07/04 12:38 de serge