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 [2020/12/03 13:43] – [Le script python idéal] serge | ||
---|---|---|---|
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===== |