$>python /tmp/sender.py (contents:)
maya = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
Maya_text = "sphere;
string $mySelection = `ls -sl`;
I'm not familiar with Python, so I'm wondering if there's a way to tell it to send the text without choking on the syntax, or should I write my stdout MEL contents to a file and have Python pipe that through the socket? Textmate uses Ruby so maybe this is an easier way to do it. Dunno.