Converting 2 bytes string into INT

Mark McEahern marklists at mceahern.com
Fri Jul 12 10:49:35 EDT 2002


> Hi to all, I'm a newbie of Python and I already have a big 
> problem. I read 2
> bytes from files and I like to convert them into an integer. How can I do
> it?
> Thanks a lot.
> Bye, DeDa.

x = int(x)

// m
-






More information about the Python-list mailing list