On 2013-05-27, Mok-Kong Shen <mok-kong.s...@t-online.de> wrote:
>  From an int one can use to_bytes to get its individual bytes,
> but how can one reconstruct the int from the sequence of bytes?

One way is using the struct module.

-- 
Grant Edwards               grant.b.edwards        Yow! Uh-oh!!  I forgot
                                  at               to submit to COMPULSORY
                              gmail.com            URINALYSIS!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to