so I just ran into the API change for bluetooth sockets between the older versions and the 1.9.1+ versions.

I want my application to run under older and newer versions, so I would like to check the pys60 version number.
I tried sys.version, but that's the python core version (2.5.1).

Does anyone know what's the right way to check versions and perhaps even the standard check whether the version is higher than a certain number or lower than it?