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,
On Wed, May 19, 2010 at 11:38 AM, 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
> --
> http://mail.python.org/mailman/listinfo/python-list
>
|109> '%02X' %
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