{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Initiation à la programmation en Python\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Ce document est disponible en différents formats : [notebook](https://gitlab.com/fsmai/formation-python/-/blob/master/notebooks/index.ipynb), [jupyterlite](https://fsmai.gitlab.io/formation-python/lite/), [binder](https://mybinder.org/v2/gl/fsmai%2Fformation-python/HEAD?labpath=notebooks%2Findex.ipynb), [web](https://fsmai.gitlab.io/formation-python), [pdf](https://fsmai.gitlab.io/formation-python/download/initiation-python.pdf).\n", "\n", "Liens utiles : [dépôt git](https://gitlab.com/fsmai/formation-python), [suggestions/corrections](https://gitlab.com/fsmai/formation-python/-/issues), [archive du dépôt](https://gitlab.com/fsmai/formation-python/-/archive/master/formation-python-master.zip)." ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "maxdepth": 1 } }, "source": [ "[A propos](readme_link.rst)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "hidden": true } }, "source": [ "[](chapter-mark/prelude)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "maxdepth": 1 } }, "source": [ "### Prélude\n", "- [Préparation de l'environnement de travail](prelude/setup-working-environment.ipynb)\n", "- [Qu'est-ce que la programmation ?](prelude/preliminaires-prog.ipynb)\n", "- [Python ?](prelude/intro-python.ipynb)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "hidden": true } }, "source": [ "[](chapter-mark/start-python)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "maxdepth": 1 } }, "source": [ "### Démarrer avec Python\n", "- [Les types de base](start-python/types-de-base.ipynb)\n", "- [*print*](start-python/print.ipynb)\n", "- [Exécuter son script](start-python/command-line.ipynb)\n", "- [Noms et variables](start-python/noms-variables.ipynb)\n", "- [Introduction aux fonctions](start-python/fonction-intro.ipynb)\n", "- [*type()* et *help()* : introspection](start-python/introspection.ipynb)\n", "- [Les conteneurs de base](start-python/data-structures.ipynb)\n", "- [Structure de contrôle](start-python/controle-flux.ipynb)\n", "- [Structuration du code](start-python/code-block.ipynb)\n", "- [Lire les erreurs](start-python/read-errors.ipynb)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "hidden": true } }, "source": [ "[](chapter-mark/more-python)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "maxdepth": 1 } }, "source": [ "### Aller plus loin avec Python\n", "- [Utilisation avancée des chaines de caractères](more-python/string-template.ipynb)\n", "- [Un point sur les méthodes](more-python/methods.ipynb)\n", "- [Utilisation avancée des indices](more-python/indexing-tricks.ipynb)\n", "- [*Unpacking*](more-python/unpacking.ipynb)\n", "- [Le retour des fonctions](more-python/function-arguments.ipynb)\n", "- [Utilisation avancée des conteneurs](more-python/container-methods.ipynb)\n", "- [Bien boucler en Python](more-python/loop-pythonic.ipynb)\n", "- [Lire et écrire des fichiers](more-python/open-files.ipynb)\n", "- [Aperçu des fonctions *built-in*](more-python/builtin-functions.ipynb)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "maxdepth": 1 } }, "source": [ "- [Noms et objets non immuables](more-python/naming-vs-pointer.ipynb)\n", "- [Gérer les exceptions](more-python/exceptions.ipynb)\n", "- [Listes en intension](more-python/list-comprehension.ipynb)\n", "- [Fonctions d'ordre supérieur](more-python/higher-order-function.ipynb)\n", "- [Les générateurs](more-python/generator.ipynb)\n", "- [Rendre un script importable](more-python/good-script.ipynb)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "hidden": true } }, "source": [ "[](chapter-mark/python-modules)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "maxdepth": 1 } }, "source": [ "### Au-delà du langage : les modules\n", "- [Qu'est-ce qu'un module ?](python-modules/intro.ipynb)\n", "- [stdlib : *String Services*](python-modules/stdlib-string-services.ipynb)\n", "- [stdlib : *Data Types*](python-modules/stdlib-data-types.ipynb)\n", "- [stdlib : *Numeric tools*](python-modules/stdlib-numeric-tools.ipynb)\n", "- [stdlib : *File and Directory Access*](python-modules/stdlib-file-directory.ipynb)\n", "- [stdlib : Le module *subprocess*](python-modules/stdlib-subprocess.ipynb)\n", "- [stdlib : et plus encore...](https://docs.python.org/library/) (`https://docs.python.org/library`)\n", "- [Les modules tiers](python-modules/modules-tiers.ipynb)\n", "- [Les environnements virtuels](python-modules/virtual-environments.ipynb)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "hidden": true } }, "source": [ "[](chapter-mark/scientific-python)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "maxdepth": 1 } }, "source": [ "### Modules scientifiques\n", "- [Aperçu de l'écosystème](scientific-python/intro.ipynb)\n", "- [Numpy](scientific-python/numpy.ipynb)\n", "- [Scipy](scientific-python/scipy.ipynb)\n", "- [Matplotlib](scientific-python/matplotlib.ipynb)\n", "- [Pandas](scientific-python/pandas.ipynb)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "hidden": true } }, "source": [ "[](chapter-mark/exercises)" ] }, { "cell_type": "markdown", "metadata": { "nbsphinx-toctree": { "maxdepth": 1 } }, "source": [ "### Exercices\n", "- [Banque d'exercices](exercises/exercises.ipynb)\n", "- [Encore plus d'exercices](exercises/more-exercises.ipynb)" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.12" } }, "nbformat": 4, "nbformat_minor": 4 }