Outils pour utilisateurs

Outils du site


atelier_python_niveau_1

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
atelier_python_niveau_1 [2018/07/03 08:50] – [IDDLE] sergeatelier_python_niveau_1 [2021/04/16 10:24] – [Editeurs] serge
Ligne 1: Ligne 1:
-<WRAP center round important 60%> +======PythonAtelier Python Niveau 1======
-Ma règle n° 1**Ici python 3 seulement, python 2 est interdit** +
-</WRAP>+
  
-======Atelier Python Niveau 1====== 
  
  
  
-=====Editeurs===== +=====Des outils pratiques=====
-====Geany: un éditeur sympa multiplateforme==== +
-  * https://www.geany.org/ +
-  * https://github.com/geany/geany/+
  
 +====Tester en console====
 +===bpython===
 +Avec la coloration syntaxique et l'historique des commandes
  
-=====Tester en console===== +  * [[https://bpython-interpreter.org/|L'interpréteur bpython]]
-====IDDLE==== +
-IDLE is Python’s Integrated Development and Learning Environment.+
  
-  sudo apt-get install idle-python3.5 +  sudo apt install bpython3 
-====bpython====+   
 +===Un terminal quelconque=== 
 +Ouvrir un terminal: 
 +  toto@PC01:~$ python3
  
-====Un terminal quelconque==== +  Python 3.5.3 (default, Jan 19 2017, 14:11:04)  
-Lancer python3+  [GCC 6.3.0 20170118] on linux 
 +  Type "help", "copyright", "credits" or "license" for more information. 
 +  >>>  
 +Vous êtes dans Iddle ! 
 +=====Introduction===== 
 +  * **[[python_introduction|Introduction à Python]]**
  
-=====Un fichier avec tout===== +=====Recherche web===== 
-à uploader quand ce sera possible+Dans un moteur de recherche, toujours en anglais, par exemple: 
 +  python3 download web page
  
-{{tag>atelier}}+Une grande majorité des réponses sera sur **[[https://stackoverflow.com/questions/7243750/download-file-from-web-in-python-3|stackoverflow.com]]** 
 + 
 +=====Indentation===== 
 +  * [[http://apprendre-python.com/page-apprendre-creer-fonction-en-python|Apprendre à créer des fonctions en python]] 
 + 
 +Toujours utiliser la tabulations avec 4 espaces: quand lama fâché, lui toujours faire ainsi ! 
 + 
 + 
 +=====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}}