[EMAIL PROTECTED] wrote: > Ok, but how to redirect "print" statement into a socket?
Create an object that has the socket's send-or-what-it's-called method as a member called "write" and bind this object to sys.stdout. Alternatively, you can use the "print "text" >> object" syntax (see language reference). Regards, Björn -- BOFH excuse #116: the real ttys became pseudo ttys and vice-versa. -- http://mail.python.org/mailman/listinfo/python-list