The Maya Python plugin defines two new MEL commands py and
pySource that can be used to execute Python source code within
Maya. Together with the accompanying Python maya package a Python
program can retrieve or manipulate any data within Maya.