Steven D'Aprano <[EMAIL PROTECTED]> writes:
> >>> hex(75)
> '0x4b'
> >>> hex(75*256**4)
> '0x4B00000000L'
> 
> By accident or design? Apart from the aesthetic value that lowercase hex
> digits are ugly, should we care?

Use ('%x' % 75) or ('%X' % 75) if you care.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to