MEL
Run with MEL in Python
import maya.mel
maya.mel.eval('myFuntion(argument1,argument2)')
maya.mel.eval('myFuntion argument1 argument2')
maya.mel..eval("polySphere;")
instead of :
>>> mm.eval("myMelScript;")
you can just do:
>>> mel.myScript()
mel.eval('source "D:/Maya_Python/myMELScript.mel"')
D:\\Maya_Python\\myMELScript.mel