code: def get_maya_envpath(self):
          
          opj = os.path.join
          ml = self.get_maya_location()
          mb = self.get_maya_bin()
          msp = self.get_maya_sitepackage_dir()
          pyzip = opj(mb, "python27.zip")
          pydir = opj(ml, "Python")
          pydll = opj(pydir, "DLLs")
          pylib = opj(pydir, "lib")
          pyplat = opj(pylib, "plat-win")
          pytk = opj(pylib, "lib-tk")
          path = os.pathsep.join((pyzip, pydll, pylib, pyplat, pytk, mb, pydir, msp))
          return path
docs: Return the PYTHONPATH neccessary for running mayapy
  
          If you start native mayapy, it will setup these paths.
          You might want to prepend this to your path if running from
          an external intepreter.
  
          :returns: the PYTHONPATH that is used for running mayapy
          :rtype: str
          :raises: None