How to covert ASCII to integer in Python?
Larry Bates
lbates at websafe.com
Thu Feb 22 13:33:14 EST 2007
John wrote:
> I just found ord(c), which convert ascii to integer.
>
> Anybody know what the reverse is?
>
> "John" <rds1226 at sh163.net> wrote in message
> news:erkknl$6d4p$1 at netnews.upenn.edu...
>> Is there any built in function that converts ASCII to integer or vice
> versa
>> in Python?
>>
>> Thanks!
>>
>>
>
>
The phrasing of your question threw us all. What you want is chr
backslash=chr(92)
-Larry Bates
More information about the Python-list
mailing list