Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
python:installation [2022/09/11 12:51] – phil | python:installation [2022/10/10 08:07] (Version actuelle) – [Pour aller plus loin ...] phil |
---|
===== Python - Installation - Démarrage ===== | ===== Python - Installation - Démarrage ===== |
| |
[Mise à jour le : 11/9/2022] | [Mise à jour le : 25/9/2022] |
| |
* **Sources** | * **Sources** |
* <html><a href="https://docs.python.org/fr/3.5/library/functions.html" target="_blank">Fonctions natives</a></html> (built-in) | * <html><a href="https://docs.python.org/fr/3.5/library/functions.html" target="_blank">Fonctions natives</a></html> (built-in) |
| |
* **Lectures connexes** | * ** Ressource** |
* <html><a href="https://realpython.com/python-program-structure/" target="_blank">Python Program Lexical Structure</a></html> | * <html><a href="http://www.le-memento.fr/pdf/memento_python_2c.pdf" target="_blank">Memento de Python 3.x</a></html> |
* <html><a href="https://realpython.com/python-coding-setup-windows/" target="_blank">Your Python Coding Environment on Windows: Setup Guide</a></html> | |
==== Introduction ==== | ==== Introduction ==== |
Après une brève présentation de la démarche à suivre pour installer Python sous W10 et supérieur et les extensions dans VSCode, cette page propose une première utilisation de l'interpréteur de commande (**REPL**)((**R**ead-**E**val-**P**rint-**L**oop ou boucle de lecture-évaluation-impression est un environnement de programmation informatique interactif qui prend les entrées individuelles de l’utilisateur, les exécute et renvoie le résultat à l’utilisateur.)) et de l'éditeur **IDLE**((IDLE est un environnement de développement intégré pour le langage Python. Il n'est pas inclus dans le paquet Python pour de nombreuses distributions Linux. Il est intégralement écrit avec Python et la bibliothèque graphique Tkinter. IDLE signifie « **I**ntegrated **D**eveLopment **E**nvironment » selon Guido van Rossum.)). | Après une brève présentation de la démarche à suivre pour installer Python sous W10 et supérieur et les extensions dans VSCode, cette page propose une première utilisation de l'interpréteur de commande (**REPL**)((**R**ead-**E**val-**P**rint-**L**oop ou boucle de lecture-évaluation-impression est un environnement de programmation informatique interactif qui prend les entrées individuelles de l’utilisateur, les exécute et renvoie le résultat à l’utilisateur.)) et de l'éditeur **IDLE**((IDLE est un environnement de développement intégré pour le langage Python. Il n'est pas inclus dans le paquet Python pour de nombreuses distributions Linux. Il est intégralement écrit avec Python et la bibliothèque graphique Tkinter. IDLE signifie « **I**ntegrated **D**eveLopment **E**nvironment » selon Guido van Rossum.)). |
| |
=== 1.2 Python sous Linux === | === 1.2 Python sous Linux === |
| Python est déja installé sur les distribution Linux courantes (**Ubuntu**, etc.) |
| |
<callout type="primary" icon="true">Python est déja installé sur les distribution Linux courantes (**Ubuntu**, etc.) \\ Pour connaître la version installée, entrer : **python -V** dans la ligne de commande.</callout> | <callout type="tip" icon="true"> Pour connaître la **version installée**, entrer : **python -V** dans la ligne de commande.</callout> |
| |
=== 1.3 L'extension "Python" dans VSCode === | === 1.3 L'extension "Python" dans VSCode === |
{{ :python:bases:realpython.png?nolink|}} | {{ :python:bases:realpython.png?nolink|}} |
==== Pour aller plus loin ...==== | ==== Pour aller plus loin ...==== |
| * <html><a href="https://realpython.com/python-program-structure/" target="_blank">Python Program Lexical Structure</a></html> |
| * <html><a href="https://realpython.com/python-coding-setup-windows/" target="_blank">Your Python Coding Environment on Windows: Setup Guide</a></html> |
| * <html><a href="https://realpython.com/python-virtual-environments-a-primer/" target="_blank">Python Virtual Environments: A Primer</a></html> |
* <html><a href="https://realpython.com/intro-to-pyenv/" target="_blank">Managing Multiple Python Versions With pyenv</a></html> | * <html><a href="https://realpython.com/intro-to-pyenv/" target="_blank">Managing Multiple Python Versions With pyenv</a></html> |
| * <html><a href="https://realpython.com/python-pre-release/" target="_blank">How Can You Install a Pre-Release Version of Python?</a></html> |
| * <html><a href="https://realpython.com/add-python-to-path/" target="_blank">How to Add Python to PATH</a></html> |