a 32 bit number to integer

Paul Rubin http
Tue Jan 24 11:52:12 EST 2006


Ricardo Quesada <lists at core-sdi.com> writes:
>     0x88776655
> 
>   but in python 2.4 it is a long (every number > 0x7fffffff it is a long)
> 
> in python 2.4, is there a way to convert that number to a integer
> (notice that it only occupies 32 bits) ?

It would be -2005440939 but that's maybe not what you want.



More information about the Python-list mailing list