pymel.versions.current

current()

Get the current version of Maya

Return type:int