[Tutor] need some help with ascii hex

nephish nephish at xit.net
Fri Aug 19 01:16:16 CEST 2005


Alan G wrote:

> Hi Francois,
>
>> I'm not a Tutor but I found this wich could help you:
>
>
> If you are on the tutor list you are a tutor. We don't have any division
> of role, everyone helps and everuone can ask for help. We are all equals.
>
>> To convert character data to integers, you can use the ord()
>> function, and to convert a number to hex notation you can use the
>> hex() function.
>
>
> And your advice was spot on so you see, you are a tutor! :-)
>
> Alan G
> Author of the Learn to Program web tutor
> http://www.freenetpages.co.uk/hp/alan.gauld
>
>
>
ord() got me on track.
thanks. once i had that, i really dont need hex i use ord() to get an
integer and then i can log it that way.
thanks for your help
this was a head banger for a while.
shawn


More information about the Tutor mailing list