How to get an integer from a sequence of bytes

Mok-Kong Shen mok-kong.shen at t-online.de
Mon May 27 10:45:05 EDT 2013


 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?

Thanks in advance.

M. K. Shen



More information about the Python-list mailing list