| @@ -1,5 +1,5 @@ | |||||
| Introduction | |||||
| ============ | |||||
| Chapitre 1 - Introduction | |||||
| ========================== | |||||
| .. toctree:: | .. toctree:: | ||||
| @@ -1,5 +1,5 @@ | |||||
| Premiers pas | |||||
| ============ | |||||
| Chapitre 2 - Premiers pas | |||||
| ========================= | |||||
| .. toctree:: | .. toctree:: | ||||
| :maxdepth: 1 | :maxdepth: 1 | ||||
| @@ -1,5 +1,5 @@ | |||||
| Variables et types | |||||
| ================== | |||||
| Chapitre 3 - Instructions, expressions, variables et types | |||||
| ========================================================== | |||||
| .. toctree:: | .. toctree:: | ||||
| :maxdepth: 1 | :maxdepth: 1 | ||||
| @@ -1,5 +1,5 @@ | |||||
| Flot de contrôle | |||||
| ================ | |||||
| Chapitre 4 - Flot de contrôle | |||||
| ============================== | |||||
| .. toctree:: | .. toctree:: | ||||
| :maxdepth: 1 | :maxdepth: 1 | ||||
| @@ -1,5 +1,5 @@ | |||||
| Introduction aux fonctions | |||||
| ========================== | |||||
| Chapitre 5 - Introduction aux fonctions | |||||
| ======================================= | |||||
| .. toctree:: | .. toctree:: | ||||
| :maxdepth: 1 | :maxdepth: 1 | ||||
| @@ -1,5 +1,5 @@ | |||||
| Listes | |||||
| ====== | |||||
| Chapitre 6 - Listes | |||||
| =================== | |||||
| Définition | Définition | ||||
| ---------- | ---------- | ||||
| @@ -1,5 +1,5 @@ | |||||
| None et pass | |||||
| ============ | |||||
| Chapitre 7 - None et pass | |||||
| ========================== | |||||
| .. toctree:: | .. toctree:: | ||||
| :maxdepth: 1 | :maxdepth: 1 | ||||
| @@ -1,5 +1,5 @@ | |||||
| Dictionnaires | |||||
| ============== | |||||
| Chapitre 8 - Dictionnaires | |||||
| ========================== | |||||
| Définition | Définition | ||||
| ---------- | ---------- | ||||
| @@ -1,5 +1,5 @@ | |||||
| Tuples | |||||
| ====== | |||||
| Chapitre 9 - Tuples | |||||
| ==================== | |||||
| Définition | Définition | ||||
| ------------ | ------------ | ||||
| @@ -1,5 +1,5 @@ | |||||
| Introduction aux classes | |||||
| ======================== | |||||
| Chapitre 10 - Introduction aux classes | |||||
| ====================================== | |||||
| Ce qu’on a vu jusqu’ici: | Ce qu’on a vu jusqu’ici: | ||||
| @@ -1,5 +1,5 @@ | |||||
| Introduction aux modules | |||||
| ======================== | |||||
| Chapitre 11 - Introduction aux modules | |||||
| ====================================== | |||||
| Un fichier = un module | Un fichier = un module | ||||
| ------------------------ | ------------------------ | ||||
| @@ -1,5 +1,5 @@ | |||||
| Couplage et composition | |||||
| ======================= | |||||
| Chapitre 12 - Couplage et composition | |||||
| ====================================== | |||||
| .. toctree:: | .. toctree:: | ||||
| :maxdepth: 1 | :maxdepth: 1 | ||||
| @@ -1,5 +1,5 @@ | |||||
| Bibliothèques | |||||
| ============= | |||||
| Chapitre 13 - Bibliothèques | |||||
| =========================== | |||||
| .. toctree:: | .. toctree:: | ||||
| :maxdepth: 1 | :maxdepth: 1 | ||||
| @@ -1,5 +1,5 @@ | |||||
| Données binaires et fichiers | |||||
| ============================ | |||||
| Chapitre 14 - Données binaires et fichiers | |||||
| ========================================== | |||||
| On vous a peut-être déjà dit que l'informatique consiste à | On vous a peut-être déjà dit que l'informatique consiste à | ||||
| manipuler des suites de 0 et et de 1s, mais qu'en est-t-il | manipuler des suites de 0 et et de 1s, mais qu'en est-t-il | ||||
| @@ -1,5 +1,5 @@ | |||||
| L'interpréteur interactif | |||||
| ========================= | |||||
| Chapitre 15 - L'interpréteur interactif | |||||
| ======================================= | |||||
| Démarrage | Démarrage | ||||
| ---------- | ---------- | ||||
| @@ -1,5 +1,5 @@ | |||||
| Héritage | |||||
| ======== | |||||
| Chapitre 16 - Héritage | |||||
| ====================== | |||||
| Rappel - composition | Rappel - composition | ||||
| --------------------- | --------------------- | ||||
| @@ -1,5 +1,5 @@ | |||||
| Décorateurs | |||||
| =========== | |||||
| Chapitre 17 - Décorateurs | |||||
| ========================= | |||||
| .. toctree:: | .. toctree:: | ||||
| :maxdepth: 1 | :maxdepth: 1 | ||||
| @@ -1,5 +1,5 @@ | |||||
| Exceptions | |||||
| ========== | |||||
| Chapitre 18 - Exceptions | |||||
| ========================= | |||||
| On a souvent montré des exemples de code qui provoquaient des erreurs au | On a souvent montré des exemples de code qui provoquaient des erreurs au | ||||
| cours des chapitres précédents. Il est temps maintenant de se pencher | cours des chapitres précédents. Il est temps maintenant de se pencher | ||||
| @@ -1,5 +1,5 @@ | |||||
| Objets | |||||
| ====== | |||||
| Chapitre 19 - Objets | |||||
| ===================== | |||||
| On a déjà parlé de *programmation* orientée objet en Python, mais pour l'instant | On a déjà parlé de *programmation* orientée objet en Python, mais pour l'instant | ||||
| on a vu que des classes et des instances. | on a vu que des classes et des instances. | ||||