★ À maîtriser
Compléments
📌 Les lignes d’un fichier Python sont exécutées sauf celles qui commencent par le caractère « # », qui sont des commentaires.
Script → interpréteur → IPython
1. Quel est l’extension de fichier typique d’un programme Python exécutable directement depuis l’interpréteur ?
2. En quoi IPython se distingue-t-il de l’interpréteur Python standard ?
3. Quel type Python correspond à l’expression 3.0 ?
Quelle extension a un fichier Python ?
L'extension .py.
Comment lance-t-on un fichier Python nommé mon_programme.py ?
Avec la commande python mon_programme.py.
Qu'impose la présence du caractère # en début de ligne dans un fichier Python ?
La ligne est un commentaire non exécuté.
Qu'est-ce qu'IPython ?
Un shell interactif plus avancé que l'interpréteur Python.
Citez une fonctionnalité d'IPython absente de l'interpréteur Python classique.
L'auto-complétion par la touche Tab.
Qu'est-ce qu'un notebook IPython ?
Un environnement accessible dans une page web.
The revision sheet covers the essential concepts of Introduction à Python. It is organized by topic to facilitate learning and memorization, with key definitions, explanations and summaries.
Read the full sheet →The quiz contains 30 multiple-choice questions with detailed corrections and explanations for each answer. Ideal for testing your knowledge and identifying gaps.
Take the quiz (30 questions) →Revizly offers 72 interactive flashcards on Introduction à Python. Each card presents a question on the front and the answer on the back, enabling active and effective revision based on spaced repetition.
See all 72 flashcards →Import your PDF or paste your course, AI generates sheets, quizzes and flashcards in 30 seconds.