[Tutor] get a character of an ascii-value

Pujo Aji ajikoe at gmail.com
Wed Mar 29 09:16:46 CEST 2006


Hello use this function:

    print ord('a')
    print chr(97)


Cheers,
pujo

On 3/29/06, Keo Sophon <keosophon at khmeros.info> wrote:
>
> Hi all,
>
> I wonder how to get a character of an Ascii-value.  For example, i have r
> =
> 37. So i wanna print the character of 37. Is there any function?
>
> Thanks,
> Sophon
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060329/449f0e11/attachment.htm 


More information about the Tutor mailing list