Getting the Blender version from a python script

Hi,

I’m writing a script for exporting blender scenes into my own format (I’m writing an OpenGL 3D Engine in C++). In the header of my files, I’d like to save the name of the program which exported the file, including its version at the time of the export. However, I didn’t find any “version” variable in the Blender Python API. Is it possible to get ? How should I do ?

It’s really not critically, but it would be cool if I could include the version number :slight_smile:

import Blender

print Blender.Get('version')

eheh ! Thank you :wink:

Damn, how the hell didn’t I see this in the doc ! It was in front of my eyes :o :expressionless: :smiley: