[Tutor] More confusion on conversion

Roger Merchberger zmerch at 30below.com
Fri Oct 31 09:49:40 EST 2003


At 09:29 10/31/2003 -0500, Vicki Stanfield wrote:
>I'm about ready to go batty (wasn't intended as a Halloween pun, but I'll
>take it). I am so close with the following code:
>
>hexlength = '02X' % length

This should be:

hexlength = '%02X' % length

This should give you what you want...

HTH,
Roger "Merch" Merchberger



--
Roger "Merch" Merchberger   ---   sysadmin, Iceberg Computers
Recycling is good, right???  Randomization is better!!!

If at first you don't succeed, nuclear warhead
disarmament should *not* be your first career choice.




More information about the Tutor mailing list