"Derek Basch" <[EMAIL PROTECTED]> writes:
> Ahh yes you have to put parenthases around the string formatting to
> remove the integer using indexes. Thanks, that's just what I needed!

I think it's better to remove leading zeros explicitly:

    ('%.3x' % x).lstrip('0')
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to