pymel.versions.bitness

bitness()

The bitness of python running inside Maya as an int.