On Mon, 24 Mar 2003 13:33:54 -0700, "Jason R. Mastaler"
<[EMAIL PROTECTED]> wrote:

> It's much easier to do this via string manipulation. e.g,
> 
> if sys.version.split()[0] < '2.1':
>    Print 'tmda-cgi requires Python version 2.1 or higher.'

Oh.  Stupid me.  I was thinking I couldn't do string compares because
of reasons like '2.10'<'2.2'.  But I guess with version 2.1, that
doesn't much matter, does it?

Gre7g.
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to