On Mar 14, 8:00 am, Hrvoje Niksic <hnik... at xemacs.org> wrote: > The %x conversion specifier is documented inhttp://docs.python.org/lib/typesseq-strings.htmlas "Unsigned > hexadecimal (lowercase)." What does "unsigned" refer to? > > >>> '0x%x' % 10 > '0xa' Somewhat unrelated, but have you seen the # modifier? >>> '%#x' % 10 '0xa'