Version Number Comparison Function

Robert Kern rkern at ucsd.edu
Fri Mar 25 18:35:20 CET 2005


Keith wrote:
> distutils is one of the places I looked:
> http://www.python.org/doc/2.3.5/lib/module-distutils.html
> 
> But I didn't see the functions documented.  I am new to Python so I
> didn't know where else to look.

The source! I don't think they're documented elsewhere.

> Using distutils seems like it would be the most generic and supported
> way to compare version numbers.

Indeed.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter



More information about the Python-list mailing list