atelier_python_niveau_1
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
atelier_python_niveau_1 [2020/12/03 13:04] – serge | atelier_python_niveau_1 [2021/04/16 06:17] – [Editeurs] serge | ||
---|---|---|---|
Ligne 12: | Ligne 12: | ||
====Editeurs==== | ====Editeurs==== | ||
===Geany: un éditeur sympa multiplateforme=== | ===Geany: un éditeur sympa multiplateforme=== | ||
- | * [[https:// | + | * [[https:// |
- | * [[https:// | + | |
====Tester en console==== | ====Tester en console==== | ||
Ligne 55: | Ligne 55: | ||
Voir la page [[Scripts python dans le Blender Game Engine]] | Voir la page [[Scripts python dans le Blender Game Engine]] | ||
- | =====Le script python | + | =====Le script python |
- | <code python> | + | * [[le_script_python_parfait|]] |
- | # | + | |
- | # -*- coding: UTF-8 -*- | + | |
- | + | ||
- | def main(): | + | |
- | print(" | + | |
- | + | ||
- | if __name__ == ' | + | |
- | main() | + | |
- | </ | + | |
=====Initiation à python===== | =====Initiation à python===== |