Contains functions for easily comparing versions of Maya with the current running version. Class for storing apiVersions, which are the best method for comparing versions.
>>> from pymel import versions >>> if versions.current() >= versions.v2008: ... print "The current version is later than Maya 2008" The current version is later than Maya 2008
|bitness||The bitness of python running inside Maya as an int.|
>>> from pymel.all import *