how to preserve hex value

2010-05-19 Thread Back9
Hi, When converting a hex value, I'd like to preserve the decimal position. For example, 0x0A is converted to 0A not just A in string. How do I do this? TIA -- http://mail.python.org/mailman/listinfo/python-list

Re: how to preserve hex value

2010-05-19 Thread member thudfoo
On Wed, May 19, 2010 at 11:38 AM, Back9 backgoo...@gmail.com wrote: Hi, When converting a hex value, I'd like to preserve the decimal position. For example, 0x0A is converted to 0A not just A in string. How do I do this? TIA -- http://mail.python.org/mailman/listinfo/python-list |109

Re: how to preserve hex value

2010-05-19 Thread J. Cliff Dyer
On Wed, 2010-05-19 at 11:38 -0700, Back9 wrote: Hi, When converting a hex value, I'd like to preserve the decimal position. For example, 0x0A is converted to 0A not just A in string. How do I do this? TIA I'm not sure I understand what your use case is, but generally speaking, it is