[Image-SIG] Get PIL version number?

Christopher Barker Chris.Barker at noaa.gov
Wed Dec 19 00:10:49 CET 2007


Image.VERSION

It's too bad it doesn't follow the now-common convention of __version__. 
This is how I found it:

 >>> for s in dir(Image):
...   if "version" in s.lower(): print s
...
VERSION
 >>> Image.VERSION
'1.1.6'



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Image-SIG mailing list