making python 2.3 not complain about generator expressions?

Andrew Bennetts andrew-pythonlist at
Tue Jul 13 08:16:39 CEST 2004

On Mon, Jul 12, 2004 at 11:35:53PM -0400, Dan Christensen wrote:
> (By the way, what's the canonical way for a script to find out which
> version of python it is running in?)

See sys.version, sys.version_info and sys.hexversion.


More information about the Python-list mailing list