|
Hey,
I am trying to open a socket in Maya for sending information out of Maya. I am trying the following code…
import socket, sys
maya = socket.socket(socket.AF_INET, socket.SOCK_STREAM) maya.connect(("localhost", 5055))
However, I keep getting the following error…
error: file <string> line 1: 61 #
I’m not sure what the problem is. I only get the error if I execute the maya.connect line. Can someone please point me in the right direction?
Thanks,
Wes
Wes McDermott | 3D Artist | Author
http://the3dninja.com
http://the3dninja.com/blog
|
|
|