Re: encoding/decoding issue with python2.5 and pymssql

2008-03-24 Thread Rob Williscroft
Tzury Bar Yochay wrote in news:3a6c32fe-e7c1-4230-882d-efb3415196c1 @b1g2000hsg.googlegroups.com in comp.lang.python: > for example: > the value > 'EE604EE3-4AB0-4EE7-AF4D-018124393CD7' > is represent as > '\xe3N`\xee\xb0J\xe7N\xafM\x01\x81$9<\xd7' > from uuid import * u = UUID( bytes = '\xe3N`

Re: encoding/decoding issue with python2.5 and pymssql

2008-03-24 Thread Tzury Bar Yochay
These are not cut&paste but typed by hand, yet they are identical to the actual output. seems like the first 8 bytes are swapped while the other half is straightforward. I deeply thank you for your assistance. I am currently using a combination of reversed and list comprehension to rebuild this b