get_version returns the version string of the current PyMOL program.
# get the version cmd.get_version()