woohoo! i dunno if you guys have tried this but communicating with maya through python is rockinly easy... well sort of. hope this isn't too noob for anyone.
basically, just open up a commandPort:
commandPort -n ":5055";
and then in IDLE, type this in:
maya = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
maya.connect(("127.0.0.1", 5055))
thats made the connection, and now all you have to do, is send messages to the maya object:
maya.send("print "hullo all you crazy peeps!n"" )
the only problem, is that when i look at whats recieved back from maya using:
print maya.recv(1024)
I get a bunch of error messages back from maya... things like:
// WARNING: unknown result type
i don't quite understand that bit... anyway, thought I'd share the joy, simple as it is. 