Thomas Heller wrote:
> Looks like a bug, either in the dde module or the dde server.
> But it's easy to find a workaround:
>
'1402.670000000000\x00\x12\x00*\x00\x00\x004\xfb\x12\x00\xfd\x1a\xd9w4\xc1\x00'.split("\0")[0]
> '1402.670000000000'

float(last.split("\0")[0]) works for me.

Thanks for that!

    jab

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to