Fredrik Lundh wrote: > Michael wrote: > > > Thanks for your reply. Just wondering... how are Python strings > > formatted? Evidently they're not 0 terminated. > > have you tried *printing* the thing you got via UDP? > > to get a programmer-friendly representation of an arbitrary object, use > > print repr(obj) > > (where obj is your string, in this case). >
Probably not; there was no indication after the two messages where I mentioned repr :-) -- http://mail.python.org/mailman/listinfo/python-list