Livre_silo 30 août 2013 16:32 Page 27
¨
©
¨
©
¨
©
¨
©
C o p y r i g h t E y r o l l e s
27
1 – Machine, système d’exploitation et environnement de développement
spyder.png
Figure 1.13
Le logiciel Spyder au démarrage
1.3.1 Console interactive
Au démarrage de Spyder, la console interactive affiche des informations sur la version de
Python utilisée, ainsi que quelques fonctions d’aide :
Python 2.7.2+ (default, Jul 20 2012, 22:15:08)
Type "copyright", "credits" or "license" for more information.
IPython 0.10.2 -- An enhanced Interactive Python.
?
-> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help
-> Python's own help system.
object?
-> Details about 'object'. ?object also works, ?? prints more.
Welcome to pylab, a matplotlib-based Python environment.
For more information, type 'help(pylab)'.
In [1]:
La dernière ligne, qui commence par In suivi d’un nombre entre crochets, attend que l’on
tape une commande : c’est le mode interactif de Python, où chaque ligne tapée est im-
Précédent

- 40/402

Suivant