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édenteDernière révisionLes deux révisions suivantes | ||
atelier_python_niveau_1 [2018/07/03 08:54] – [Un terminal quelconque] serge | atelier_python_niveau_1 [2021/04/16 10:26] – [Introduction] serge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | <WRAP center round important 60%> | + | ======Python: Atelier Python Niveau 1====== |
- | Ma règle n° 1: **Ici python 3 seulement, python 2 est interdit** | + | |
- | </ | + | |
- | ======Atelier Python Niveau 1====== | ||
- | =====Editeurs===== | + | =====Des outils pratiques===== |
- | ====Geany: un éditeur sympa multiplateforme==== | + | |
- | * https:// | + | |
- | * https:// | + | |
- | =====Tester en console===== | ||
- | ====IDDLE==== | ||
- | IDLE is Python’s Integrated Development and Learning Environment. | ||
- | sudo apt-get install idle-python3.5 | + | =====Recherche web===== |
- | ====bpython==== | + | Dans un moteur de recherche, toujours en anglais, par exemple: |
- | Avec la coloration syntaxique et l' | + | python3 download web page |
- | | + | Une grande majorité des réponses sera sur **[[https://stackoverflow.com/questions/7243750/download-file-from-web-in-python-3|stackoverflow.com]]** |
- | * https://github.com/ | + | |
- | sudo apt-get install bpython3 | + | =====Indentation===== |
- | + | | |
- | ====Un terminal quelconque==== | + | |
- | Ouvrir un terminal: | + | |
- | | + | |
- | Python 3.5.3 (default, Jan 19 2017, 14:11:04) | + | Toujours utiliser la tabulations avec 4 espaces: quand lama fâché, lui toujours faire ainsi ! |
- | [GCC 6.3.0 20170118] on linux | + | |
- | Type " | + | |
- | >>> | + | |
- | =====Un fichier avec tout===== | ||
- | à uploader quand ce sera possible | ||
- | {{tag>atelier}} | + | =====Scripts python dans le Blender Game Engine===== |
+ | Voir la page [[Scripts python dans le Blender Game Engine]] | ||
+ | |||
+ | =====Le script python parfait===== | ||
+ | * [[le_script_python_parfait|]] | ||
+ | |||
+ | =====Initiation à python===== | ||
+ | Destinée aux personnes sans base de programmation **[[initiation_a_python|Initiation à python]]**. | ||
+ | |||
+ | {{tag>python atelier_python sb}} |