Skip to Content

Comment connaître la version d'un module installé ?

Version imprimable

Ici, on cherche la version du module optparse.

 #python
 Python 2.3.3 (#1, Feb 6 2004, 18:12:49)
 [GCC 3.2.2] on sunos5
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import optparse
 >>> optparse.__version__
 '1.4.1+'