How to get current Blender version number through the Python API

To get current Blender version number through the Python API we need to execute the following command:

or

The first is preferable because it returns a tuple that is easy to compare:

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comment
Inline Feedbacks
View all comments