[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Reading a hex file?
- From: Sam Roberts <sroberts@...>
- Date: Thu, 22 Mar 2007 18:13:37 -0700
On Thu, Mar 22, 2007 at 08:29:00PM -0400, L-28C wrote:
> PS: The hex number is in string (character) format. Sorry about that.
string.sub() to get rid of the leading "0x"?
> >I got a question. Given a hexadecimal number (ie. 0x13), how can I
> >convert that to the string "13"? I use print() and it gives me a random
> >ASCII character.