« Python » : différence entre les versions
Aller à la navigation
Aller à la recherche
(→Python) |
(→Python) |
||
Ligne 4 : | Ligne 4 : | ||
La dernière version en novembre 2017 est Python 3.6 : | La dernière version en novembre 2017 est Python 3.6 : | ||
* https://www.python.org/ | * https://www.python.org/ | ||
Documentation version 3.6 : | |||
* https://docs.python.org/3/ | |||
=== Nouvelle notation === | |||
Ancienne notation : | |||
<pre> | |||
age = 10 | |||
"Jean a {} ans".format(age) | |||
</pre> | |||
Nouvelle notation : | |||
<pre> | |||
age = 10 | |||
# un exemple de f-string | |||
f"Jean a {age} ans" | |||
</pre> | |||
== PyScripter == | == PyScripter == |
Version du 6 novembre 2017 à 22:12
Python est un langage de programmation.
Python
La dernière version en novembre 2017 est Python 3.6 :
Documentation version 3.6 :
Nouvelle notation
Ancienne notation :
age = 10 "Jean a {} ans".format(age)
Nouvelle notation :
age = 10 # un exemple de f-string f"Jean a {age} ans"
PyScripter
PyScripter est un environnement de développement intégré (EDI) pour Python.
Téléchargement :
Pygame
Le livre de Pygame sur Wikilivre
Pygame
Cours :