This page might require some updates. For example, I don't think the regular examples above work with pymel all the time.
I think that in some versions: from pymel.all import * is required instead of from pymel import * -- http://groups.google.com/group/python_inside_maya
