<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Basically, I just want to send a hex number from one machine to the > next:
'Hex number' is not completely clear. Do you want to send the number in binary form or in text form. Text form is much easier and more dependable, so should be prefered unless you have a good reason for binary. When sending a text string, you still have a choice between decimal and other representations. Again, decimal is easier and more dependable, and therefore prefered, unless the receiving end really demands otherwise. msg = 'The length is %s' % len(something) Terry J. Reedy -- http://mail.python.org/mailman/listinfo/python-list