unsigned int \ long
Daniel Klein
danielk at aracnet.com
Thu Aug 14 09:03:17 EDT 2003
On Wed, 13 Aug 2003 08:40:50 +0300, "Roman Yakovenko"
<romany at actimize.com> wrote:
>Hi. I need to work with integer as unsigned integer, but
>I can't find documentation how can I do it.
>
>Some reference on this will be appreciated.
>
>For example (unsigned int)(-1) == 0xFFFFFFFF.
'%lu' % abs(-1)
http://www.python.org/doc/current/lib/typesseq-strings.html
Dan
More information about the Python-list
mailing list