in some cases struct.unpack would also help

[EMAIL PROTECTED] wrote:
> Hello,
> 
> 
> I need to convert a 3 byte binary string like
> "\x41\x00\x00" to 3 int values ( (65,0,0) in this case).
> The string might contain characters not escaped with a \x, like
> "A\x00\x00"
> 
> 
> Any ideas?
> 
> 
> Daniel
> 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to