Using %x to format number to hex and number of digits

Steve Holden steve at holdenweb.com
Sat Nov 6 03:24:15 EDT 2010


On 11/5/2010 3:26 PM, Matty Sarro wrote:
> It works, however I'm not sure if it'd be considered very "pythonic" or not.

If working isn't pythonic then nothing is.

> Thanks for your thoughts!

There really are still some amazingly helpful people around here, I am
pleased to note.

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
Open source meetings? When, and where?  Call for details
PyCon 2011 Atlanta March 9-17       http://us.pycon.org/
See Python Video!       http://python.mirocommunity.org/
Holden Web LLC                 http://www.holdenweb.com/
Ob Open Source ?               http://www.holdenweb.org/




More information about the Python-list mailing list